summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2019-04-23 11:42:08 -0500
committerJohn Klug <john.klug@multitech.com>2019-07-03 12:35:42 -0500
commit26058b7513533444434db904a4ea499e072c2bfe (patch)
tree6a78ffd0c36026eafb218abf626fadb6f84069ab
parent28d09bf207fe1076b2a1ef78c6fa91fc2fbdc92c (diff)
downloadmeta-mlinux-26058b7513533444434db904a4ea499e072c2bfe.tar.gz
meta-mlinux-26058b7513533444434db904a4ea499e072c2bfe.tar.bz2
meta-mlinux-26058b7513533444434db904a4ea499e072c2bfe.zip
Update ifplugd-disable to use
-rw-r--r--recipes-core/busybox/ifplugd-disable_1.0.bb6
1 files 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
}