commit:     28998b96e18c8d342c6896a3133169b20b0f305a
Author:     Alon Bar-Lev <alon.barlev <AT> gmail <DOT> com>
AuthorDate: Sun Oct 27 12:44:21 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 18 21:49:47 2025 +0000
URL:        https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=28998b96

net: ifplugd: support busybox

busybox ifplugd does not support long options.

Signed-off-by: Alon Bar-Lev <alon.barlev <AT> gmail.com>
Closes: https://github.com/gentoo/netifrc/pull/59
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net/ifplugd.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ifplugd.sh b/net/ifplugd.sh
index 8a0b608..a5fc7bf 100644
--- a/net/ifplugd.sh
+++ b/net/ifplugd.sh
@@ -47,7 +47,7 @@ ifplugd_pre_start()
 
        # Start ifplugd
        eval start-stop-daemon --start --exec ifplugd \
-               --pidfile "${pidfile}" -- "${args}" --iface="${IFACE}"
+               --pidfile "${pidfile}" -- "${args}" -i "${IFACE}"
        eend $? || return 1
 
        eindent

Reply via email to