From 541725ce1897acbd543d1e82e2b1b2728a8f6856 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 30 Jan 2010 18:17:52 +0000 Subject: [PATCH] stop syslogd before rebooting, otherwise umount might not work properly when logging to a file (thx, puchu) SVN-Revision: 19428 --- package/base-files/files/etc/init.d/boot | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 2ed4c50613..7927af1543 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 +} + -- 2.25.1