aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/boot
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/init.d/boot')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index 2ed4c50613..7927af1543 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -2,6 +2,7 @@
# Copyright (C) 2006 OpenWrt.org
START=10
+STOP=98
system_config() {
local cfg="$1"
@@ -80,3 +81,8 @@ start() {
load_modules /etc/modules.d/*
}
+
+stop() {
+ killall -9 syslogd 2> /dev/null
+}
+