Get this stuff out of my head.

Prevent Locking Yourself Out

| Comments

I’m playing with openWRT on a La Fonera 2100 and I kept locking myself out of the device by screwing up the netwrok configuration - the only way out of this is to re-flash the root file system - not difficult but a pain in the arse! Then I found this: which suggests a natty trick of automatically restoring your working network config after 2 minutes unless you stop it:
`sleep 120 && cp /tmp/backup /etc/config/network && /etc/init.d/network restart`&
Nice one Christian!