From 26058b7513533444434db904a4ea499e072c2bfe Mon Sep 17 00:00:00 2001 From: Jeff Hatch Date: Tue, 23 Apr 2019 11:42:08 -0500 Subject: Update ifplugd-disable to use --- recipes-core/busybox/ifplugd-disable_1.0.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/recipes-core/busybox/ifplugd-disable_1.0.bb b/recipes-core/busybox/ifplugd-disable_1.0.bb index 1910e34..09f866d 100644 --- a/recipes-core/busybox/ifplugd-disable_1.0.bb +++ b/recipes-core/busybox/ifplugd-disable_1.0.bb @@ -9,10 +9,8 @@ PR = "r1" pkg_prerm_${PN}() { -#!/bin/bash -sed -i 's/^ENABLED="no"/ENABLED="yes"/i' /etc/default/ifplugd +sed -i 's/^ENABLED="no"/ENABLED="yes"/i' $D${sysconfdir}/default/ifplugd } pkg_postinst_${PN}() { -#!/bin/bash -sed -i 's/^ENABLED="yes"/ENABLED="no"/i' /etc/default/ifplugd +sed -i 's/^ENABLED="yes"/ENABLED="no"/i' $D${sysconfdir}/default/ifplugd } -- cgit v1.2.3