summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/ppp8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/rc.d/ppp b/etc/rc.d/ppp
index b3991fe..84d6bc4 100755
--- a/etc/rc.d/ppp
+++ b/etc/rc.d/ppp
@@ -95,8 +95,12 @@ ppp_poststart()
{
# Re-Sync ipfilter and pf so they pick up any new network interfaces
#
- /etc/rc.d/ipfilter quietresync
- /etc/rc.d/pf quietresync
+ if [ -f /etc/rc.d/ipfilter ]; then
+ /etc/rc.d/ipfilter quietresync
+ fi
+ if [ -f /etc/rc.d/pf ]; then
+ /etc/rc.d/pf quietresync
+ fi
}
ppp_stop_profile() {
OpenPOWER on IntegriCloud