Skip to content

Instantly share code, notes, and snippets.

@wwahammy
Last active August 29, 2015 14:13
Show Gist options
  • Save wwahammy/edbec365aba5670663d3 to your computer and use it in GitHub Desktop.
Save wwahammy/edbec365aba5670663d3 to your computer and use it in GitHub Desktop.
Setting IP address as part of our first boot script
#!/bin/sh
uci -q set network.lan.ipaddr=10.0.2.15
uci -q commit network
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment