[Buildroot] [PATCH] netplug: prevent starting multiple instances of netplugd

Peter Korsgaard peter at korsgaard.com
Sun Jun 17 15:50:41 UTC 2018


>>>>> "Carlos" == Carlos Santos <casantos at datacom.com.br> writes:

 > Executing "/etc/init.d/S29netplug start" multiple times resulted in
 > multiple instances of netplugd.

 > Pass "-p /var/run/netplug.pid" to netplugd, so it creates the PID file
 > that start-stop-daemon needs to know that netplugd is already running.
 > Also use the pid file to stop netplugd, instead of the daemon name.

 > Fixes https://bugs.busybox.net/show_bug.cgi?id=10661

 > Reported-by: Joachim Krueger <mail2k at web.de>
 > Signed-off-by: Carlos Santos <casantos at datacom.com.br>

Committed to 2018.02.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list