1#!/bin/sh
2### BEGIN INIT INFO
3# Provides:          rmnologin
4# Required-Start:    $remote_fs $all
5# Required-Stop:
6# Default-Start:     2 3 4 5
7# Default-Stop:
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.
13### END INIT INFO
14
15if test -f /etc/nologin.boot
16then
17	rm -f /etc/nologin /etc/nologin.boot
18fi
19
20: exit 0
21