From 7389f6f2b1401821580f31bbbfe055d89b3ff8af Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 17 Mar 2013 14:16:59 +0100 Subject: [PATCH] busybox-ifplugd: Disable the restart target as it is not working This issue is documented in PRJ#72. The easiest is to to keep the old software running as everything else is racy and start-stop-daemon does not appear to implement the --retry command. Let's see how far we get with this workaround. --- recipes-apps/busybox/busybox_sysmocom.inc | 2 +- recipes-apps/busybox/files/busybox-ifplugd.sh | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/recipes-apps/busybox/busybox_sysmocom.inc b/recipes-apps/busybox/busybox_sysmocom.inc index a7671b9..cc2a489 100644 --- a/recipes-apps/busybox/busybox_sysmocom.inc +++ b/recipes-apps/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" -PRINC = "10" +PRINC = "11" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/recipes-apps/busybox/files/busybox-ifplugd.sh b/recipes-apps/busybox/files/busybox-ifplugd.sh index c66847f..d8c0bb8 100644 --- a/recipes-apps/busybox/files/busybox-ifplugd.sh +++ b/recipes-apps/busybox/files/busybox-ifplugd.sh @@ -20,10 +20,7 @@ case "$1" in echo "done." ;; restart) - echo "restarting $DESC: $NAME... " - $0 stop - $0 start - echo "done." + echo "Not restarting $DESC: $NAME... " ;; reload) echo -n "reloading $DESC: $NAME... "