aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-07-06 03:29:19 +0000
committerBill Nottingham <notting@redhat.com>2001-07-06 03:29:19 +0000
commit647d746f8fddf3f56c18005a438c366679cc841e (patch)
tree89bdf26061054c8b32caf75d9b2a51fecfc67d63
parentf8c546cb290916b4f120513987722e4fa4ce64d3 (diff)
downloadinitscripts-647d746f8fddf3f56c18005a438c366679cc841e.tar
initscripts-647d746f8fddf3f56c18005a438c366679cc841e.tar.gz
initscripts-647d746f8fddf3f56c18005a438c366679cc841e.tar.bz2
initscripts-647d746f8fddf3f56c18005a438c366679cc841e.tar.xz
initscripts-647d746f8fddf3f56c18005a438c366679cc841e.zip
fix the non-xDSL case (#47263)
-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