From 3cd1d2c7906684258d3056e782ded69ec3cd14e8 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 26 Dec 2000 05:55:21 +0000 Subject: only run ifup-post if the ifcfg file is there (#19741) --- ppp/ip-up | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ppp/ip-up') 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 "$@" -- cgit v1.2.1