up airwhu

This commit is contained in:
sirpdboy 2021-04-23 14:49:47 +08:00
parent 7d15d934f0
commit a6ffcb3e35
2 changed files with 13 additions and 2 deletions

View File

@ -8,7 +8,7 @@ if [ "$action"x = "install"x ]; then
uci delete network.globals.ula_prefix
uci set network.wan6.peerdns='0'
uci set network.wan6.dns='240c::6666'
uci set network.wan6.dns='2001:da8:202:10::36'
uci delete network.lan.ip6assign
uci set network.lan.ip6addr='BABE:BABE:BABE:BABE::1/64'
@ -25,7 +25,7 @@ elif [ "$action"x = "uninstall"x ]; then
uci set network.globals.ula_prefix='fdad:91b7:54bb::/48'
uci delete network.wan6.peerdns='0'
uci delete network.wan6.dns='240c::6666'
uci delete network.wan6.dns='2001:da8:202:10::36'
uci set network.lan.ip6assign='60'
uci delete network.lan.ip6addr='BABE:BABE:BABE:BABE::1/64'

View File

@ -0,0 +1,11 @@
{
"luci-app-airwhu": {
"description": "Grant UCI access for luci-app-airwhu",
"read": {
"uci": [ "airwhu" ]
},
"write": {
"uci": [ "airwhu" ]
}
}
}