If I need to type in many UCI commands like those presented in the link below do I have to enter them one by one on the command line or is there a way to run them all together as a script? Thanks.
Just put a ; in between the commands and you can put them all on one line.
uci -q delete network.guest; uci set network.guest="interface"; uci set network.guest.proto="static"; uci set network.guest.ipaddr="192.168.3.1"; uci set network.guest.netmask="255.255.255.0"; uci commit network; /etc/init.d/network restart
That's perfect! Thanks
You can copy and paste entire blocks of code as is.
The terminal emulator should take care of newlines.
If this way doesn't work for you, try another terminal emulator:
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.