aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1999-09-06 15:41:37 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1999-09-06 15:41:37 +0000
commitc87eb6700a2bec6a36e72d5cbad6590551ffa3bb (patch)
tree4b1fc7c76ba06e8ae37cb4a6046adc37081f7cdf /sysconfig/network-scripts
parent4ba8afa836b0075a862c38bcc6e7eae42bae2f0d (diff)
downloadinitscripts-c87eb6700a2bec6a36e72d5cbad6590551ffa3bb.tar
initscripts-c87eb6700a2bec6a36e72d5cbad6590551ffa3bb.tar.gz
initscripts-c87eb6700a2bec6a36e72d5cbad6590551ffa3bb.tar.bz2
initscripts-c87eb6700a2bec6a36e72d5cbad6590551ffa3bb.tar.xz
initscripts-c87eb6700a2bec6a36e72d5cbad6590551ffa3bb.zip
chat script only needs to exist if wvdial not in use
Diffstat (limited to 'sysconfig/network-scripts')
-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 bb314aca..677d84e8 100755
--- a/sysconfig/network-scripts/ifup-ppp
+++ b/sysconfig/network-scripts/ifup-ppp
@@ -37,7 +37,7 @@ fi
exit 1
}
-[ -f /etc/sysconfig/network-scripts/chat-$DEVICE ] || {
+[ -n "$WVDIALSECT" -o -f /etc/sysconfig/network-scripts/chat-$DEVICE ] || {
echo "/etc/sysconfig/network-scripts/chat-$DEVICE does not exist"
echo "ifup-ppp for $DEVICE exiting"
logger -p daemon.info -t ifup-ppp \