stop syslogd before rebooting, otherwise umount might not work properly when logging...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 30 Jan 2010 18:17:52 +0000 (18:17 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 30 Jan 2010 18:17:52 +0000 (18:17 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19428 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/etc/init.d/boot

index 2ed4c50613c5e2ac32d3380fdb021e5f41cd8557..7927af15431bd690b287ddbf14d6200e60e91693 100755 (executable)
@@ -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
+}
+