From ae9e1c75a5e24e4f2c9d60eb4b8838e0b043ec7d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 25 Apr 2008 14:11:19 -0400 Subject: Import from event-compat-sysv-0.3.9-8.fc9 --- event.d/sulogin | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 event.d/sulogin (limited to 'event.d/sulogin') diff --git a/event.d/sulogin b/event.d/sulogin new file mode 100644 index 00000000..931fb062 --- /dev/null +++ b/event.d/sulogin @@ -0,0 +1,18 @@ +# 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 -- cgit v1.2.1