summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/rmnologin')
-rwxr-xr-xinit.d/rmnologin4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.d/rmnologin b/init.d/rmnologin
index cad2245..0537b5f 100755
--- a/init.d/rmnologin
+++ b/init.d/rmnologin
@@ -2,6 +2,10 @@
# Copyright 1999-2006 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 &> /dev/null