aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-20 14:57:02 +0300
committerCem Keylan <cem@ckyln.com>2020-05-20 14:57:02 +0300
commit50c3bba44ffff5c4105648275f36aa64e6a96e02 (patch)
treee9b5eeac9baacec82b0b5cbf9ff9f448153c65f9 /rc.shutdown
parent2c629502b4248d266ecde461fb8773198507c6ec (diff)
downloadinit-50c3bba44ffff5c4105648275f36aa64e6a96e02.tar.gz
add option to log boot and shutdown to a file
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.shutdown b/rc.shutdown
index 292284f..7f99c4c 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -36,7 +36,7 @@ out "Remounting rootfs as readonly"; {
mount -o remount,ro /
sync
-}
+} 2>&1 | log
run_hook post.shutdown