aboutsummaryrefslogtreecommitdiff
path: root/net.Linux/ifplugd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net.Linux/ifplugd.sh')
-rw-r--r--net.Linux/ifplugd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net.Linux/ifplugd.sh b/net.Linux/ifplugd.sh
index f6e3260d..e4600b75 100644
--- a/net.Linux/ifplugd.sh
+++ b/net.Linux/ifplugd.sh
@@ -61,7 +61,7 @@ ifplugd_pre_start() {
eval args=\$ifplugd_${IFVAR}
# Mark the us as inactive so netplug can restart us
- mark_service_inactive "${SVCNAME}"
+ mark_service_inactive
# Start ifplugd
eval start-stop-daemon --start --exec /usr/sbin/ifplugd \
@@ -83,7 +83,7 @@ ifplugd_pre_start() {
local i=0
while true; do
- if service_started "${SVCNAME}"; then
+ if service_started; then
_show_address
exit 0
fi