aboutsummaryrefslogtreecommitdiff
path: root/init.d/rmnologin
blob: 3ebd6dfdaa38ae93305ff40dc1ae905f79a09284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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
}

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

# vim: set ts=4 :