summaryrefslogtreecommitdiffstats
path: root/etc/rc.network
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.network')
-rw-r--r--etc/rc.network9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/rc.network b/etc/rc.network
index 8f3f5a6..51c2926 100644
--- a/etc/rc.network
+++ b/etc/rc.network
@@ -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'
OpenPOWER on IntegriCloud