stop syslogd before rebooting, otherwise umount might not work properly when logging to a file (thx, puchu)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19428 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
3f0f74fec5
commit
e2dc509448
|
@ -2,6 +2,7 @@
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006 OpenWrt.org
|
||||||
|
|
||||||
START=10
|
START=10
|
||||||
|
STOP=98
|
||||||
|
|
||||||
system_config() {
|
system_config() {
|
||||||
local cfg="$1"
|
local cfg="$1"
|
||||||
|
@ -80,3 +81,8 @@ start() {
|
||||||
|
|
||||||
load_modules /etc/modules.d/*
|
load_modules /etc/modules.d/*
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
killall -9 syslogd 2> /dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue