mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-11 17:34:57 +00:00
stop syslogd before rebooting, otherwise umount might not work properly when logging to a file (thx, puchu)
SVN-Revision: 19428
This commit is contained in:
parent
d46a32fa60
commit
541725ce18
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user