diff options
author | darrenr <darrenr@FreeBSD.org> | 2001-10-20 04:33:02 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2001-10-20 04:33:02 +0000 |
commit | 06070b833f9db95da99229acf008d6f6665cc1ae (patch) | |
tree | 8245b16e649aa24ec25a019e78575105cc5b023c /etc/rc.d/routing | |
parent | 5d34df19b797026f62543aa2eaa3eda51ae55cd6 (diff) | |
download | FreeBSD-src-06070b833f9db95da99229acf008d6f6665cc1ae.zip FreeBSD-src-06070b833f9db95da99229acf008d6f6665cc1ae.tar.gz |
Put in place for using ipfs use on shutdown and startup.
PR: 27070
Diffstat (limited to 'etc/rc.d/routing')
-rw-r--r-- | etc/rc.d/routing | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/rc.d/routing b/etc/rc.d/routing index 8f3f5a6..51c2926 100644 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -96,6 +96,15 @@ network_pass1() { fi ;; esac + case "${ipfs_enable}" in + [Yy][Ee][Ss]) + if [ -r "/var/db/ipf/ipstate.ipf" ]; then + echo -n ' ipfs'; + eval ${ipfs_program:-/sbin/ipfs -R} \ + ${ipfs_flags} + fi + ;; + esac else ipfilter_enable="NO" echo -n ' NO IPF RULES' |