summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-12-03 20:05:42 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2014-12-03 20:05:42 -0600
commit066ece401c575c45ef8f05fdf6f28e904215f200 (patch)
treefad1e74a645e6cb83cfc103a2df000811d4ae2c0 /scripts
parent5989082f194a2fcc76616fb50f5577fac5055800 (diff)
we need a workaround for openssh, too
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-rcconf7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/update-rcconf b/scripts/update-rcconf
index f01861d83..24e767a77 100755
--- a/scripts/update-rcconf
+++ b/scripts/update-rcconf
@@ -20,10 +20,13 @@ 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:]')
- # workarounds
- if [ $rcname = iptables ];then
+ # workarounds where package name not equal to service name
+ if [ $rcname = "iptables" ];then
rcname=firewall
fi
+ if [ $rcname = "openssh_server" ];then
+ rcname=openssh
+ fi
if [ "$ADK_PKG_KODIBOX" = "y" -o "$ADK_PKG_MPDBOX" = "y" ];then
sed -i -e "s#$rcname=\"NO\"#$rcname=\"DAEMON\"#" $rcconf
else