Lines 1183-1188
Link Here
|
1183 |
rc_stringlist_addu(start_services, service->value); |
1183 |
rc_stringlist_addu(start_services, service->value); |
1184 |
} |
1184 |
} |
1185 |
} |
1185 |
} |
|
|
1186 |
else { |
1187 |
start_services = rc_services_in_runlevel(newlevel ? newlevel : runlevel); |
1188 |
} |
1186 |
|
1189 |
|
1187 |
/* Save our runlevel now */ |
1190 |
/* Save our runlevel now */ |
1188 |
if (going_down) |
1191 |
if (going_down) |
Lines 1212-1217
Link Here
|
1212 |
} |
1215 |
} |
1213 |
|
1216 |
|
1214 |
/* Run the halt script if needed */ |
1217 |
/* Run the halt script if needed */ |
|
|
1218 |
/* |
1215 |
if (strcmp(runlevel, RC_LEVEL_SHUTDOWN) == 0 || |
1219 |
if (strcmp(runlevel, RC_LEVEL_SHUTDOWN) == 0 || |
1216 |
strcmp(runlevel, RC_LEVEL_REBOOT) == 0) |
1220 |
strcmp(runlevel, RC_LEVEL_REBOOT) == 0) |
1217 |
{ |
1221 |
{ |
Lines 1220-1225
Link Here
|
1220 |
eerrorx("%s: unable to exec `%s': %s", |
1224 |
eerrorx("%s: unable to exec `%s': %s", |
1221 |
applet, HALTSH, strerror(errno)); |
1225 |
applet, HALTSH, strerror(errno)); |
1222 |
} |
1226 |
} |
|
|
1227 |
*/ |
1223 |
|
1228 |
|
1224 |
/* Single user is done now */ |
1229 |
/* Single user is done now */ |
1225 |
if (strcmp(runlevel, RC_LEVEL_SINGLE) == 0) { |
1230 |
if (strcmp(runlevel, RC_LEVEL_SINGLE) == 0) { |