aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-ppp
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2001-09-19 17:56:49 +0000
committerThan Ngo <than@redhat.com>2001-09-19 17:56:49 +0000
commit4091c4484942817ab3360a204180f40735c01436 (patch)
tree8a1df329541021aa66c435f86230d36af9dbcdc0 /sysconfig/network-scripts/ifdown-ppp
parentb4ef0a651227d7ec469539f22a14cac5514ee86e (diff)
downloadinitscripts-4091c4484942817ab3360a204180f40735c01436.tar
initscripts-4091c4484942817ab3360a204180f40735c01436.tar.gz
initscripts-4091c4484942817ab3360a204180f40735c01436.tar.bz2
initscripts-4091c4484942817ab3360a204180f40735c01436.tar.xz
initscripts-4091c4484942817ab3360a204180f40735c01436.zip
* don't show user name by DSL connection
Diffstat (limited to 'sysconfig/network-scripts/ifdown-ppp')
-rwxr-xr-xsysconfig/network-scripts/ifdown-ppp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-ppp b/sysconfig/network-scripts/ifdown-ppp
index 9270de39..d867897f 100755
--- a/sysconfig/network-scripts/ifdown-ppp
+++ b/sysconfig/network-scripts/ifdown-ppp
@@ -7,7 +7,7 @@ cd /etc/sysconfig/network-scripts
CONFIG=$1
source_config
-if [ "$TYPE" = "xDSL" -a -x /usr/sbin/adsl-stop ] ; then
+if [ "$TYPE" = "xDSL" ] && [ -x /sbin/adsl-stop -o -x /usr/sbin/adsl-stop ] ; then
adsl-stop /etc/sysconfig/network-scripts/$CONFIG
exit $?
fi