aboutsummaryrefslogtreecommitdiffstats
path: root/event.d/sulogin
blob: 931fb06247e2e0b5ab621dcef649af25a2a316c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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