mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Remove unused setting in omr6in4 for firewall
This commit is contained in:
parent
8a73c7f993
commit
f0f710123d
1 changed files with 4 additions and 4 deletions
|
@ -28,10 +28,10 @@ set_ipv6_state() {
|
||||||
sed -i "s:^net.ipv6.conf.all.disable_ipv6=[0-9]*::" /etc/sysctl.d/zzz_openmptcprouter.conf
|
sed -i "s:^net.ipv6.conf.all.disable_ipv6=[0-9]*::" /etc/sysctl.d/zzz_openmptcprouter.conf
|
||||||
sysctl -qw net.ipv6.conf.all.disable_ipv6=0
|
sysctl -qw net.ipv6.conf.all.disable_ipv6=0
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
#uci -q batch <<-EOF >/dev/null
|
||||||
set firewall.@defaults[0].disable_ipv6=$disable_ipv6
|
# set firewall.@defaults[0].disable_ipv6=$disable_ipv6
|
||||||
commit firewall
|
# commit firewall
|
||||||
EOF
|
#EOF
|
||||||
|
|
||||||
if [ "$disable_ipv6" = "1" ]; then
|
if [ "$disable_ipv6" = "1" ]; then
|
||||||
logger -t "omr-6in4" "Disable IPv6"
|
logger -t "omr-6in4" "Disable IPv6"
|
||||||
|
|
Loading…
Reference in a new issue