helper scripts to shutdown/reboot/mount optware

Post new topic   Reply to topic    DD-WRT Forum Index -> Contributions Upload
Author Message
simonzack
DD-WRT Novice


Joined: 30 Mar 2013
Posts: 4

PostPosted: Sat Mar 30, 2013 7:21    Post subject: helper scripts to shutdown/reboot/mount optware Reply with quote
Here's a set of scripts to properly shutdown, reboot, and mount optware, and the ability to do these by pressing the wps button, with indicators of progress.

The default usb automount is buggy and sometimes doesn't work, it mounts both /opt and /mnt to /opt

These should work with any router, by default the asus N16 is supported, other routers require a small amount of configuration.

Upon pressing the wps button (red button) on the asus n16, the router shuts down optware if the button is pressed once, reboots it if pressed twice, and cancels if pressed 3 times. On success the power light will turn off for router shutdowns, and stay on otherwise.

The wps button script is designed to be customized, so you can run other commands based on how many times the button is pressed.

See https://github.com/simonzack/dd-wrt-optware for details

Tested on basmaf optware take 2, DD-WRT v24-sp2 (09/22/12) mega (SVN revision 20006)
Sponsor
simonzack
DD-WRT Novice


Joined: 30 Mar 2013
Posts: 4

PostPosted: Fri May 31, 2013 18:59    Post subject: Reply with quote
v3 is out
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Contributions Upload All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum