diff options
author | Roy Marples <roy@marples.name> | 2008-01-10 23:22:46 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-10 23:22:46 +0000 |
commit | 2d95c9a756c4c7b9301e04c274c3b139e0d1aef4 (patch) | |
tree | 4bd58fa2b4b8e01f5df1352ce7d06effe719b441 /init.d/bootmisc | |
parent | 5aea880f8158945d2cc9390891de6af8ca0a9b28 (diff) |
Loads of NetBSD tweaks here.
Diffstat (limited to 'init.d/bootmisc')
-rwxr-xr-x | init.d/bootmisc | 5 |
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() { |