Gitiles
Code Review
Sign In
192.168.1.100
/
T108
/
e958203796650e3959a43708d67534bf36f4c83b
/
.
/
package
/
base-files
/
files
/
etc
/
uci-defaults
/
12_network-generate-ula
blob: 060d0ef640d54238570ae6a805c8836ec692be0e [
file
] [
log
] [
blame
]
[
"$(uci -q get network.globals.ula_prefix)"
!=
"auto"
]
&&
exit
0
uci
-
q batch
<<-
EOF
>
/dev/
null
set
network
.
globals
.
ula_prefix
=
"$(hexdump -vn 5 -e '"
fd
" 1/1 "
%
02x
:
" 2/2 "
%
x
:
"' /dev/urandom):/48"
commit network
EOF
exit
0