From fc070daa76a3195444727a95e12b17888c4e93c4 Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 22 May 2019 17:54:45 -0500 Subject: Put back sysconfdir which was accidentally deleted in the prior change --- recipes-core/busybox/ifplugd-disable_1.0.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes-core/busybox/ifplugd-disable_1.0.bb') diff --git a/recipes-core/busybox/ifplugd-disable_1.0.bb b/recipes-core/busybox/ifplugd-disable_1.0.bb index 927ce54..bdb8678 100644 --- a/recipes-core/busybox/ifplugd-disable_1.0.bb +++ b/recipes-core/busybox/ifplugd-disable_1.0.bb @@ -19,7 +19,7 @@ if [ -z "$D" ] ; then mount -o remount,rw / fi fi -sed -i 's/^ENABLED="no"/ENABLED="yes"/i' $D/etc/default/ifplugd +sed -i 's/^ENABLED="no"/ENABLED="yes"/i' $D/${sysconfdir}/default/ifplugd if [ $ro -eq 1 ] ; then mount -o remount,ro / fi @@ -33,11 +33,11 @@ if [ -z "$D" ] ; then mount -o remount,rw / fi fi -sed -i 's/^ENABLED="yes"/ENABLED="no"/i' $D/etc/default/ifplugd +sed -i 's/^ENABLED="yes"/ENABLED="no"/i' $D/${sysconfdir}/default/ifplugd if [ -f $D/var/config/default/ifplugd ]; then sed -i 's/^ENABLED="yes"/ENABLED="no"/i' $D/var/config/default/ifplugd else - cp $D/etc/default/ifplugd $D/var/config/default/ifplugd + cp $D/${sysconfdir}/default/ifplugd $D/var/config/default/ifplugd fi if [ $ro -eq 1 ] ; then mount -o remount,ro / -- cgit v1.2.3