summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemons/rc.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/daemons/rc.sh b/daemons/rc.sh
index b8d40b4f..b113dac1 100644
--- a/daemons/rc.sh
+++ b/daemons/rc.sh
@@ -42,8 +42,6 @@ then
esac
fi
-touch /var/run/uptime
-
echo -n cleaning up left over files...
rm -f /etc/nologin
rm -f /var/lock/LCK.*
@@ -55,6 +53,12 @@ if test -d /var/run; then
fi
echo done
+# This file records when the system was booted.
+date > /var/run/uptime
+
+# This file must exist for e2fsck to work. XXX
+touch /var/run/mtab
+
#echo -n restoring pty permissions...
#chmod 666 /dev/tty[pqrs]*
#echo done