4
# Required-Start: $remote_fs $all
6
# Default-Start: 2 3 4 5
8
# Short-Description: Remove /etc/nologin at boot
9
# Description: This script removes the /etc/nologin file as the
10
# last step in the boot process, if DELAYLOGIN=yes.
11
# If DELAYLOGIN=no, /etc/nologin was not created by
12
# bootmisc earlier in the boot process.
16
[ "$DELAYLOGIN" ] || DELAYLOGIN=yes
21
# If login delaying is enabled then remove the flag file
25
rm -f /var/lib/initscripts/nologin
31
if [ ! -f /var/lib/initscripts/nologin ] ; then
42
restart|reload|force-reload)
43
echo "Error: argument '$1' not supported" >&2
54
echo "Usage: $0 start|stop" >&2