13 lines
271 B
Bash
13 lines
271 B
Bash
#!/bin/sh
|
|
|
|
. "$IPKG_INSTROOT/etc/mihomo/scripts/constants.sh"
|
|
|
|
uci -q batch <<-EOF > /dev/null
|
|
del firewall.mihomo
|
|
set firewall.mihomo=include
|
|
set firewall.mihomo.type=script
|
|
set firewall.mihomo.path=$TUN_SH
|
|
set firewall.mihomo.fw4_compatible=1
|
|
commit firewall
|
|
EOF
|