aboutsummaryrefslogtreecommitdiff
path: root/rc.multi
diff options
context:
space:
mode:
Diffstat (limited to 'rc.multi')
-rwxr-xr-xrc.multi9
1 files changed, 6 insertions, 3 deletions
diff --git a/rc.multi b/rc.multi
index 60bb835..e5ac000 100755
--- a/rc.multi
+++ b/rc.multi
@@ -26,8 +26,11 @@ fi
run_hook multi_end
-/bin/touch /var/log/boot
-kill $(/bin/cat /run/bootlogd.pid)
-/bin/rm /run/bootlogd.pid
+if [[ -f /run/bootlogd.pid ]]; then
+ touch /var/log/boot
+ kill $(< /run/bootlogd.pid)
+ rm -f /run/bootlogd.pid
+ sed -i -r -e 's/\^\[\[[0-9]?;?[0-9]?[0-9]?;?[0-9]?[0-9]?[ms]//g' \
+ -e 's/\^\[(\[151|%)G//g' /var/log/boot
# vim: set ts=2 sw=2 noet: