diff options
author | Tom Gundersen <teg@jklm.no> | 2012-07-19 21:03:48 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-07-19 21:03:48 +0200 |
commit | 8d55d6d8684c3b40b7bb4605aa5a0a6d5b282ec9 (patch) | |
tree | 56e6f4172519fc25e92006456538375a9e17a8a8 /rc.sysinit | |
parent | 5b062674869c97018871b1f91c0b22d27ae900f7 (diff) | |
download | initscripts-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-x | rc.sysinit | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |