projects
/
librecmc
/
librecmc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix broken repository link in target/makeccs
[librecmc/librecmc.git]
/
package
/
luci
/
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