aboutsummaryrefslogtreecommitdiffstats
path: root/ppp/ip-up
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-12-26 05:55:21 +0000
committerBill Nottingham <notting@redhat.com>2000-12-26 05:55:21 +0000
commit3cd1d2c7906684258d3056e782ded69ec3cd14e8 (patch)
treedcd1b678947b5213c7a7cdac6130374a88a1bb12 /ppp/ip-up
parent6cba9a1c5d1a66351f9e0692cae515c3efd37d8a (diff)
downloadinitscripts-3cd1d2c7906684258d3056e782ded69ec3cd14e8.tar
initscripts-3cd1d2c7906684258d3056e782ded69ec3cd14e8.tar.gz
initscripts-3cd1d2c7906684258d3056e782ded69ec3cd14e8.tar.bz2
initscripts-3cd1d2c7906684258d3056e782ded69ec3cd14e8.tar.xz
initscripts-3cd1d2c7906684258d3056e782ded69ec3cd14e8.zip
only run ifup-post if the ifcfg file is there (#19741)
Diffstat (limited to 'ppp/ip-up')
-rw-r--r--ppp/ip-up2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppp/ip-up b/ppp/ip-up
index 26b1eda0..685c2dfb 100644
--- a/ppp/ip-up
+++ b/ppp/ip-up
@@ -8,7 +8,7 @@ REALDEVICE=$1
export PATH=/sbin:/usr/sbin:/bin:/usr/bin
-/etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE}
+[ -f /etc/sysconfig/network-scripts/ifcfg-${LOGDEVICE} ] && /etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE}
[ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local "$@"