systemd-compat-units: disable old style 'networking' script for the time being

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2011-06-06 13:07:46 +02:00
parent 5b27dc8974
commit 92492f8596
@@ -3,6 +3,8 @@ DESCRIPTION = "Units to make systemd work better with existing sysvinit scripts"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r1"
inherit allarch
SRC_URI = "file://opkg.service"
@@ -18,7 +20,7 @@ cd $D${sysconfdir}/init.d
echo -n "Disabling the following sysv scripts: "
for i in busybox-udhcpc dnsmasq hwclock.sh syslog syslog.busybox ; do
for i in busybox-udhcpc dnsmasq hwclock.sh networking syslog syslog.busybox ; do
if [ -e $i ] ; then
echo -n "$i " ; ln -s /dev/null $D${base_libdir}/systemd/system/$i.service
fi