diff options
author | Cem Keylan <cem@ckyln.com> | 2020-05-20 14:57:02 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-05-20 14:57:02 +0300 |
commit | 50c3bba44ffff5c4105648275f36aa64e6a96e02 (patch) | |
tree | e9b5eeac9baacec82b0b5cbf9ff9f448153c65f9 /rc.boot | |
parent | 2c629502b4248d266ecde461fb8773198507c6ec (diff) | |
download | init-50c3bba44ffff5c4105648275f36aa64e6a96e02.tar.gz |
add option to log boot and shutdown to a file
Diffstat (limited to 'rc.boot')
-rwxr-xr-x | rc.boot | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ mnt() { done < /proc/mounts mnt="$1"; shift - mount "$@" "$mnt" + mount "$@" "$mnt" 2>&1 | log } # Display a pretty welcome message @@ -61,7 +61,7 @@ out "Remounting rootfs as read-only..."; { [ "$FASTBOOT" = 1 ] || { out "Checking filesystems..." - fsck "-ATat${FORCEFSCK}" noopts=_netdev + fsck "-ATat${FORCEFSCK}" noopts=_netdev 2>&1 | log [ $? -gt 1 ] && shell } |