patches/mstdp: drop, already in Buildroot

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2022-11-26 17:05:14 +01:00
parent 9358a0f277
commit 0bbb908114
-26
View File
@@ -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