aboutsummaryrefslogtreecommitdiff
path: root/init.d/bootmisc
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/bootmisc')
-rwxr-xr-xinit.d/bootmisc5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.d/bootmisc b/init.d/bootmisc
index 72254f11..5ba11743 100755
--- a/init.d/bootmisc
+++ b/init.d/bootmisc
@@ -56,7 +56,8 @@ cleanup_tmp_dir() {
! -path "./aquota.group/*" \
! -path ./journal \
! -path "./journal/*" \
- -delete
+ -exec rm -rf -- {} \; \
+ -type d -prune
eend 0
else
ebegin "Cleaning ${dir} directory"
@@ -126,6 +127,8 @@ start() {
dmesg > /var/log/dmesg
chmod 640 /var/log/dmesg
fi
+
+ rm -f /etc/nologin
}
stop() {