Viitor_upstart/etc/event.d/sulogin
kueller d10a955339 V962 Branch
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_upstart@4445 504e572c-2e33-0410-9681-be2bf7408885
2008-05-03 17:03:02 +00:00

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