Skip to content

Instantly share code, notes, and snippets.

@notsobad
Created March 11, 2014 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notsobad/9484237 to your computer and use it in GitHub Desktop.
Save notsobad/9484237 to your computer and use it in GitHub Desktop.
# backup config, save local.
tar czvf /tmp/openwrt.tgz /etc/config

# reset
mtd -r erase rootfs_data


# after reset, use ssh and copy /etc/config back
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment