Skip to content
Snippets Groups Projects
Commit ce376e92 authored by Jan Grewe's avatar Jan Grewe
Browse files

fix uci-defaults script for network config

parent 7f972984
Branches
No related tags found
No related merge requests found
#!/bin/sh
uci -q batch << EOF
set network.lan.proto=dhcp
cat << "EOF" > /etc/uci-defaults/99-custom
uci -q batch << EOI
set network.lan.proto='dhcp'
delete network.lan.ipaddr
delete network.lan.netmask
commit network
EOI
EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment