From 0bbb90811484f0dcdd9673c19355ffa7c1cb3d30 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 26 Nov 2022 16:59:23 +0100 Subject: [PATCH] patches/mstdp: drop, already in Buildroot Signed-off-by: Joachim Wiberg --- patches/mstpd/0.1.0/busybox-pidof.patch | 26 ------------------------- 1 file changed, 26 deletions(-) delete mode 100644 patches/mstpd/0.1.0/busybox-pidof.patch diff --git a/patches/mstpd/0.1.0/busybox-pidof.patch b/patches/mstpd/0.1.0/busybox-pidof.patch deleted file mode 100644 index 53395ad1..00000000 --- a/patches/mstpd/0.1.0/busybox-pidof.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- mstpd-0.1.0/bridge-stp.in.orig 2022-02-04 11:49:59.764280663 +0100 -+++ mstpd-0.1.0/bridge-stp.in 2022-02-04 11:51:00.212347703 +0100 -@@ -139,7 +139,7 @@ - fi - - # Start mstpd if necessary. -- if ! pidof -c -s mstpd >/dev/null; then -+ if ! pidof -s mstpd >/dev/null; then - if [ "$MANAGE_MSTPD" != 'y' ]; then - errmsg 'mstpd is not running' - exit 3 -@@ -212,12 +212,12 @@ - done - - # Kill mstpd, since no bridges are currently using it. -- kill $(pidof -c mstpd) -+ kill $(pidof mstpd) - ;; - restart|restart_config) - if [ "$action" = 'restart' ]; then - # Kill mstpd. -- pids="$(pidof -c mstpd)" ; Err=$? -+ pids="$(pidof mstpd)" ; Err=$? - if [ $Err -eq 0 ]; then - echo 'Stopping mstpd ...' - kill $pids