aboutsummaryrefslogtreecommitdiff
path: root/src/iptables
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2013-06-01 14:13:56 (GMT)
committerAdrian C. (anrxc) <anrxc@sysphere.org>2013-06-01 14:13:56 (GMT)
commit84292d3d48e4ad04a8e8f25a51b43452bc1b385a (patch)
treeab215360f743f73dc5bd9a9f02dedb900a0e4d6f /src/iptables
parent7df973541b4c05949282109e43c4e2fd935b564d (diff)
downloadrcdscripts-84292d3d48e4ad04a8e8f25a51b43452bc1b385a.tar.xz
rcdscripts: nfs and iptables /usr/sbin deprecation2013.06.01
Diffstat (limited to 'src/iptables')
-rwxr-xr-xsrc/iptables/ip6tables4
-rwxr-xr-xsrc/iptables/iptables4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/iptables/ip6tables b/src/iptables/ip6tables
index 2d119e3..0bda622 100755
--- a/src/iptables/ip6tables
+++ b/src/iptables/ip6tables
@@ -21,7 +21,7 @@ case "$1" in
echo 1 >/proc/sys/net/ipv6/conf/all/forwarding
fi
if ck_daemon ip6tables; then
- /usr/sbin/ip6tables-restore < $IP6TABLES_CONF
+ /usr/bin/ip6tables-restore < $IP6TABLES_CONF
if [ $? -gt 0 ]; then
stat_fail
else
@@ -56,7 +56,7 @@ case "$1" in
;;
save)
stat_busy "Saving IP6 Tables"
- /usr/sbin/ip6tables-save >$IP6TABLES_CONF
+ /usr/bin/ip6tables-save >$IP6TABLES_CONF
if [ $? -gt 0 ]; then
stat_fail
else
diff --git a/src/iptables/iptables b/src/iptables/iptables
index fbb02fa..9dbaf88 100755
--- a/src/iptables/iptables
+++ b/src/iptables/iptables
@@ -20,7 +20,7 @@ case "$1" in
echo 1 >/proc/sys/net/ipv4/ip_forward
fi
if ck_daemon iptables; then
- /usr/sbin/iptables-restore < $IPTABLES_CONF
+ /usr/bin/iptables-restore < $IPTABLES_CONF
if [ $? -gt 0 ]; then
stat_fail
else
@@ -55,7 +55,7 @@ case "$1" in
;;
save)
stat_busy "Saving IP Tables"
- /usr/sbin/iptables-save >$IPTABLES_CONF
+ /usr/bin/iptables-save >$IPTABLES_CONF
if [ $? -gt 0 ]; then
stat_fail
else