summaryrefslogtreecommitdiff
path: root/rc.multi
diff options
context:
space:
mode:
Diffstat (limited to 'rc.multi')
-rwxr-xr-xrc.multi14
1 files changed, 3 insertions, 11 deletions
diff --git a/rc.multi b/rc.multi
index 1160ab4..16fa83a 100755
--- a/rc.multi
+++ b/rc.multi
@@ -9,7 +9,7 @@
run_hook multi_start
# Load sysctl variables if sysctl.conf is present
-[[ -r /etc/sysctl.conf ]] && /sbin/sysctl -q -p &>/dev/null
+[[ -r /etc/sysctl.conf ]] && sysctl -q -p &>/dev/null
# Start daemons
for daemon in "${DAEMONS[@]}"; do
@@ -20,18 +20,10 @@ for daemon in "${DAEMONS[@]}"; do
esac
done
-if [[ -x /etc/rc.local ]]; then
- /etc/rc.local
-fi
+[[ -x /etc/rc.local ]] && /etc/rc.local
run_hook multi_end
-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
-fi
+bootlogd_stop
# vim: set ts=2 sw=2 noet: