openrc/init.d/rmnologin

16 lines
267 B
Plaintext
Executable File

#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
need localmount
}
start() {
if [ -f /etc/nologin.boot ] ; then
rm -f /etc/nologin /etc/nologin.boot
fi
}
# vim: set ts=4 :