|
|
@ -97,8 +97,8 @@ dnl |
|
|
|
block_split(`Setting hostname to $(cat /etc/HOSTNAME).') |
|
|
|
check(`hostname "$(cat /etc/HOSTNAME)"') |
|
|
|
dnl |
|
|
|
block_split(`Refresh utmp, delete lock files and other stuff.') |
|
|
|
rm -f /var/lock/* /var/lock/*/* /var/run/* 2> /dev/null |
|
|
|
block_split(`Refresh utmp, delete lock and tmp files and other stuff.') |
|
|
|
find /var/lock /var/run /tmp -mindepth 1 2> /dev/null | xargs rm -rf |
|
|
|
rm -f /etc/nologin /nologin /fastboot ; touch /var/run/utmp |
|
|
|
chmod 664 /var/run/utmp ; chown root.tty /var/run/utmp |
|
|
|
dnl |
|
|
|