summaryrefslogtreecommitdiff
path: root/net.Linux/pppd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net.Linux/pppd.sh')
-rw-r--r--net.Linux/pppd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net.Linux/pppd.sh b/net.Linux/pppd.sh
index d5db153..510a63a 100644
--- a/net.Linux/pppd.sh
+++ b/net.Linux/pppd.sh
@@ -213,7 +213,7 @@ pppd_pre_start() {
[ "${insert_link_in_opts}" = "0" ] || opts="${link} ${opts}"
ebegin "Starting pppd in ${IFACE}"
- mark_service_inactive "${SVCNAME}"
+ mark_service_inactive
if [ -n "${username}" ] \
&& [ -n "${password}" -o -z "${passwordset}" ]; then
printf "%s" "${password}" | \
@@ -225,7 +225,7 @@ pppd_pre_start() {
fi
if ! eend $? "Failed to start PPP"; then
- mark_service_stopped "net.${IFACE}"
+ mark_service_stopped
return 1
fi