aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ppp
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-ppp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp
index ebc4dca1..147dc858 100755
--- a/sysconfig/network-scripts/ifup-ppp
+++ b/sysconfig/network-scripts/ifup-ppp
@@ -50,7 +50,7 @@ fi
if [ "$TYPE" = "xDSL" -a -x /usr/sbin/adsl-start ] ; then
adsl-start "$ETH" "$USER" /etc/sysconfig/network-scripts/$CONFIG
exit $?
-else
+elif [ "$TYPE" = "xDSL" ]; then
logger -p daemon.info -t ifup-ppp \
$"/usr/sbin/adsl-start does not exist or is not executable for ${DEVICE}"
exit 1