aboutsummaryrefslogtreecommitdiff
path: root/init.d/rmnologin
blob: 64aa33c9b9efbad62190154256e96476a2e1d450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

description="Removes a file which blocks logins until this service has run."

depend() {
	need localmount
	after bootmisc net
}

start() {
	if [ -f /etc/nologin.boot ] ; then
		rm -f /etc/nologin /etc/nologin.boot
	fi
}

# vim: set ts=4 :