aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-07-19 19:03:48 (GMT)
committerTom Gundersen <teg@jklm.no>2012-07-19 19:03:48 (GMT)
commit8d55d6d8684c3b40b7bb4605aa5a0a6d5b282ec9 (patch)
tree56e6f4172519fc25e92006456538375a9e17a8a8 /rc.sysinit
parent5b062674869c97018871b1f91c0b22d27ae900f7 (diff)
downloadinitscripts-8d55d6d8684c3b40b7bb4605aa5a0a6d5b282ec9.tar.xz
bootlog: start logging after rootfs is ro
Report: <https://github.com/archlinuxarm/PKGBUILDs/issues/211> Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.sysinit b/rc.sysinit
index d8929de..6f1ac9c 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -19,9 +19,6 @@ mkdir -p /dev/{pts,shm}
mountpoint -q /dev/pts || mount -t devpts devpts /dev/pts -o mode=0620,gid=5,nosuid,noexec
mountpoint -q /dev/shm || mount -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev
-# log all console messages
-bootlogd -p /run/bootlogd.pid
-
if [[ ! -e /run/initramfs/root-fsck ]]; then
# remount root ro to allow for fsck later on, we remount now to
# make sure nothing can open files rw on root which would block a remount
@@ -29,6 +26,9 @@ if [[ ! -e /run/initramfs/root-fsck ]]; then
status "Mounting root read-only" mount -o remount,ro /
fi
+# log all console messages
+bootlogd -p /run/bootlogd.pid
+
run_hook sysinit_start
HWCLOCK_PARAMS="--systz"