From c9c6b9991422f3307262565efac987a557d62a7f Mon Sep 17 00:00:00 2001 From: Bastian Bittorf Date: Thu, 3 Jan 2013 09:48:05 +0100 Subject: [PATCH] kalua: init: hack for ending 'logger' from /etc/init.d/rcS - there is still a hanging logger, dont know which init-script causes this --- openwrt-addons/etc/init.d/generate_kalua_loader | 5 +++-- openwrt-build/apply_profile | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openwrt-addons/etc/init.d/generate_kalua_loader b/openwrt-addons/etc/init.d/generate_kalua_loader index 123c28cbf..78bd0cfa2 100755 --- a/openwrt-addons/etc/init.d/generate_kalua_loader +++ b/openwrt-addons/etc/init.d/generate_kalua_loader @@ -17,6 +17,9 @@ boot() /etc/init.d/zram start + # fixme! why does it hang? with plain OpenWrt this does not happen + fgrep -sq "killall logger" "/etc/init.d/rcS" || echo "killall logger" >>"/etc/init.d/rcS" + touch /tmp/BOOT touch /tmp/DEBUG /etc/kalua_init @@ -24,8 +27,6 @@ boot() [ $( _system ram_size ) -gt 16384 ] || { [ -e "/etc/init.d/apply_profile" ] && { - killall logger # fixme! maybe patch '/etc/init.d/rcS' - /etc/init.d/telnet disable /etc/init.d/dropbear disable /etc/init.d/dnsmasq disable diff --git a/openwrt-build/apply_profile b/openwrt-build/apply_profile index db69d2511..d76814248 100755 --- a/openwrt-build/apply_profile +++ b/openwrt-build/apply_profile @@ -36,7 +36,6 @@ boot() *" "*) ;; *) - killall logger # hangs around in tasklist? killall dropbear wifi down ;;