From d18efce498de1fc594418a6a59ae9bc796bc580f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 28 Sep 2014 23:06:42 +0200 Subject: fix firewall startup --- scripts/update-rcconf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/update-rcconf b/scripts/update-rcconf index 13eb0fad7..f01861d83 100755 --- a/scripts/update-rcconf +++ b/scripts/update-rcconf @@ -20,7 +20,11 @@ for service in $(grep ^ADK_RUNTIME_START_ $topdir/.config |grep -v ADK_RUNTIME_S rcname=$(echo $rcname| sed -e "s#=y##") rcname=$(echo $rcname| sed -e "s#^BUSYBOX_##") rcname=$(echo $rcname| tr '[:upper:]' '[:lower:]') - if [ "$ADK_PKG_XBMCBOX" = "y" -o "$ADK_PKG_MPDBOX" = "y" ];then + # workarounds + if [ $rcname = iptables ];then + rcname=firewall + fi + if [ "$ADK_PKG_KODIBOX" = "y" -o "$ADK_PKG_MPDBOX" = "y" ];then sed -i -e "s#$rcname=\"NO\"#$rcname=\"DAEMON\"#" $rcconf else sed -i -e "s#$rcname=\"NO\"#$rcname=\"YES\"#" $rcconf -- cgit v1.2.3