This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| curl -X POST http://192.168.1.1/cgi-bin/luci/;stok=<SESSION_TOKEN>/admin/system/reboot \ | |
| -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \ | |
| --data 'reboot=1&sessionid=<SESSION_TOKEN>' |
sudo echo 'auto-firmware 0' >> /boot/loader/loader.confuci set 'network.lan.ipv6=0'
uci set 'network.wan.ipv6=0'
uci set 'dhcp.lan.dhcpv6=disabled'
# Disable RA and DHCPv6 so no IPv6 IPs are handed out
uci -q delete dhcp.lan.dhcpv6
uci -q delete dhcp.lan.ra
# Disable the LAN delegation