summaryrefslogtreecommitdiff
path: root/scripts/update-rcconf
diff options
context:
space:
mode:
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