aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'init.d')
-rwxr-xr-xinit.d/bootmisc12
1 files changed, 5 insertions, 7 deletions
diff --git a/init.d/bootmisc b/init.d/bootmisc
index 3fefd92a..73456c8d 100755
--- a/init.d/bootmisc
+++ b/init.d/bootmisc
@@ -42,13 +42,11 @@ start() {
fi
done
- if [ "${RC_UNAME}" = "Linux" ] ; then
- # Setup login records
- printf "" >/var/run/utmp
- [ -e /var/log/wtmp ] || printf "" >/var/log/wtmp
- chgrp utmp /var/run/utmp /var/log/wtmp
- chmod 0664 /var/run/utmp /var/log/wtmp
- fi
+ # Setup login records
+ printf "" >/var/run/utmp
+ [ -e /var/log/wtmp ] || printf "" >/var/log/wtmp
+ chgrp utmp /var/run/utmp /var/log/wtmp
+ chmod 0664 /var/run/utmp /var/log/wtmp
ebegin "Updating environment"
# Use our version, not portage version.