From 29cfba65a4873ba1215e6ebce9afb41abd1c5b8c Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 30 Jan 2010 18:17:52 +0000 Subject: 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-a3cf2f4a3e73 --- package/base-files/files/etc/init.d/boot | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/base-files/files') diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 2ed4c5061..7927af154 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 +} + -- cgit v1.2.3