aboutsummaryrefslogtreecommitdiff
path: root/init.d/rmnologin
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/rmnologin')
-rwxr-xr-xinit.d/rmnologin16
1 files changed, 16 insertions, 0 deletions
diff --git a/init.d/rmnologin b/init.d/rmnologin
new file mode 100755
index 00000000..56b20ea1
--- /dev/null
+++ b/init.d/rmnologin
@@ -0,0 +1,16 @@
+#!/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:ts=4