aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ppp
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-01-12 17:00:22 -0500
committerBill Nottingham <notting@redhat.com>2010-01-12 17:00:22 -0500
commitd4c58cd1c84f99030c3f4778d2c64377838e0634 (patch)
treedfc2936864558666bb33706050b3bdaa1e80b056 /sysconfig/network-scripts/ifup-ppp
parentb9bef01af3a42c87f213dfa825965e146b4b8966 (diff)
downloadinitscripts-d4c58cd1c84f99030c3f4778d2c64377838e0634.tar
initscripts-d4c58cd1c84f99030c3f4778d2c64377838e0634.tar.gz
initscripts-d4c58cd1c84f99030c3f4778d2c64377838e0634.tar.bz2
initscripts-d4c58cd1c84f99030c3f4778d2c64377838e0634.tar.xz
initscripts-d4c58cd1c84f99030c3f4778d2c64377838e0634.zip
The adsl-* and pppd programs have been in /usr/sbin for ~10 years.
Ergo, stop checking if they're in /sbin.
Diffstat (limited to 'sysconfig/network-scripts/ifup-ppp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp4
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