summaryrefslogtreecommitdiff
path: root/scripts/update-rcconf
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-28 23:06:42 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-28 23:06:42 +0200
commitd18efce498de1fc594418a6a59ae9bc796bc580f (patch)
tree558164014753346cf00ae0a309b188e1ffdcaeeb /scripts/update-rcconf
parent162bc4f88c4cd4aa717c9cd210ab6f969781fad6 (diff)
fix firewall startup
Diffstat (limited to 'scripts/update-rcconf')
-rwxr-xr-xscripts/update-rcconf6
1 files changed, 5 insertions, 1 deletions
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