We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5a230a commit 26a436fCopy full SHA for 26a436f
openwrt/firehol/files/firehol-defaults.conf
@@ -1,7 +1,5 @@
1
# --- BEGIN OF FIREHOL DEFAULTS ---
2
#
3
-# If you install iprange, comment the next line in, so firehol can use it:
4
-# IPRANGE_CMD=/usr/bin/iprange
5
6
# These are the defaults for FireHOL.
7
# You can set everything system-wide here, or set any or all
@@ -282,5 +280,12 @@ PRIVATE_IPV6="FC00::/7 FE80::/10"
282
280
MULTICAST_IPV4="224.0.0.0/4"
283
281
MULTICAST_IPV6="FF00::/16"
284
285
-MODPROBE_CMD=/usr/sbin/insmod
+IP_CMD=/sbin/ip
+MODPROBE_CMD=/sbin/modprobe
+
286
+# Have firehol use iprange if we installed it:
287
+if [ -x /usr/bin/iprange ]
288
+then
289
+ IPRANGE_CMD=/usr/bin/iprange
290
+fi
291
# --- END OF FIREHOL DEFAULTS ---
0 commit comments