aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-10 23:22:46 +0000
committerRoy Marples <roy@marples.name>2008-01-10 23:22:46 +0000
commit2d95c9a756c4c7b9301e04c274c3b139e0d1aef4 (patch)
tree4bd58fa2b4b8e01f5df1352ce7d06effe719b441 /init.d
parent5aea880f8158945d2cc9390891de6af8ca0a9b28 (diff)
Loads of NetBSD tweaks here.
Diffstat (limited to 'init.d')
-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() {