diff options
Diffstat (limited to 'sysconfig/network-scripts/ifup-ppp')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ppp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp index 2a317a61..fb30639d 100755 --- a/sysconfig/network-scripts/ifup-ppp +++ b/sysconfig/network-scripts/ifup-ppp @@ -41,7 +41,7 @@ if [ "${2}" = "boot" -a "${ONBOOT}" = "no" ]; then exit fi -[ -x /sbin/pppd -o -x /usr/sbin/pppd ] || { +[ -x /usr/sbin/pppd ] || { echo $"pppd does not exist or is not executable" echo $"ifup-ppp for ${DEVICE} exiting" /usr/bin/logger -p daemon.info -t ifup-ppp \ @@ -51,7 +51,7 @@ fi # check that xDSL connection if [ "$TYPE" = "xDSL" ] ; then - if [ -x /sbin/adsl-start -o -x /usr/sbin/adsl-start ] ; then + if [ -x /usr/sbin/adsl-start ] ; then adsl-start /etc/sysconfig/network-scripts/$CONFIG exit $? else |