projects
/
project
/
luci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #1818 from dibdot/lxc_fix
[project/luci.git]
/
contrib
/
package
/
meshwizard
/
files
/
usr
/
bin
/
meshwizard
/
helpers
/
setup_auto-ipv6-interface.sh
1
#!/bin/sh
2
3
net=$1
4
. $dir/functions.sh
5
6
ra="$(uci -q get meshwizard.netconfig.${net}_ipv6ra)"
7
uci set autoipv6.${netrenamed}="interface"
8
if [ -n "$ra" ]; then
9
uci set autoipv6.${netrenamed}.ra=1
10
fi
11
12
uci_commitverbose "Setup auto-ipv6 for interface $netrenamed" autoipv6