Changeset 31 for trunk/postinst
- Timestamp:
- 09/15/09 09:22:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/postinst
r30 r31 70 70 PBS_MOM=1 71 71 PBS_MOM_OPTS=$RESULT 72 73 set_conf_options ${daemon}_restart_opts 74 PBS_MOM_RESTART_OPTS=$RESULT 75 72 76 ;; 73 77 pbs_sched) … … 161 165 if [ -x "/etc/init.d/torque" ]; then 162 166 update-rc.d torque defaults >/dev/null 163 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then 164 if [ "$1" = configure ]; then 165 invoke-rc.d torque stop || true 166 fi 167 invoke-rc.d torque start || exit 0 167 if [ -x "`which invoke-rc.d 2>/dev/null`" ] 168 then 169 if [ "$1" = configure ] 170 then 171 invoke-rc.d torque restart || true 172 else 173 invoke-rc.d torque start || exit 0 174 fi 168 175 else 169 if [ "$1" = configure ]; then 170 /etc/init.d/torque stop || true 171 fi 172 /etc/init.d/torque start || exit 0 176 if [ "$1" = configure ] 177 then 178 /etc/init.d/torque restart || true 179 else 180 /etc/init.d/torque start || exit 0 181 fi 173 182 fi 174 183 fi
Note: See TracChangeset
for help on using the changeset viewer.