From 2d95c9a756c4c7b9301e04c274c3b139e0d1aef4 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 10 Jan 2008 23:22:46 +0000 Subject: Loads of NetBSD tweaks here. --- init.d/bootmisc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'init.d/bootmisc') 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() { -- cgit v1.2.3