19 lines
461 B
Plaintext
19 lines
461 B
Plaintext
|
# sulogin - rescue mode
|
||
|
#
|
||
|
# This task ensures that should the system fail to have any active jobs
|
||
|
# that the system administrator can rescue it; by giving them a shell.
|
||
|
|
||
|
start on stalled
|
||
|
|
||
|
exec /sbin/sulogin
|
||
|
console owner
|
||
|
|
||
|
pre-start script
|
||
|
echo
|
||
|
echo "The system has reached a state where there are no jobs running."
|
||
|
echo "A shell will be spawned so that you may start such jobs that are"
|
||
|
echo "necessary."
|
||
|
echo
|
||
|
echo "Type 'exit' when finished."
|
||
|
end script
|