stop syslogd before rebooting, otherwise umount might not work properly when logging...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 30 Jan 2010 18:17:52 +0000 (18:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 30 Jan 2010 18:17:52 +0000 (18:17 +0000)
SVN-Revision: 19428

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
+}
+