diff options
author | phk <phk@FreeBSD.org> | 2004-04-28 13:20:15 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-04-28 13:20:15 +0000 |
commit | c37cc5e191d567fe04506549ff2e4fa3f06870ad (patch) | |
tree | bd2ebeaaface80df3276878be90005aafb6f3b0f /etc/rc.d/netif | |
parent | beede09a6df4d537c41af2a64fd53fa2d5d035c4 (diff) | |
download | FreeBSD-src-c37cc5e191d567fe04506549ff2e4fa3f06870ad.zip FreeBSD-src-c37cc5e191d567fe04506549ff2e4fa3f06870ad.tar.gz |
Protect som cross-script invocations by checks to see that the target
script exists. This allows pruning of rc.d scripts without getting
too many ugly boottime error message
Diffstat (limited to 'etc/rc.d/netif')
-rw-r--r-- | etc/rc.d/netif | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc.d/netif b/etc/rc.d/netif index 44d06f9..42a35b0 100644 --- a/etc/rc.d/netif +++ b/etc/rc.d/netif @@ -57,8 +57,10 @@ network_start() # Configure the interface(s). network_common ifn_start verbose - # Resync ipfilter - /etc/rc.d/ipfilter resync + if [ -f /etc/rc.d/ipfilter ] ; then + # Resync ipfilter + /etc/rc.d/ipfilter resync + fi } network_stop() |