Hi,
I'm running WhiteRussian 0.9 on an ASUS WL-HDD.
I would like to use the reset button to trigger a script as described here: http://forum.openwrt.org/viewtopic.php?id=8745
I created a the following test script; but nothing happens when the button is pressed.
cat /etc/hotplug.d/button/script
#!/bin/sh
echo $BUTTON $ACTION $SEEN $SHELL
furthermore; the BUTTON ACTION and SEEN environment variables don't seem to exist.
I can see the button's affect in /dev/gpio/in, and /proc/interrupts.
is this relevant or wrong? is it set with nvram?
cat /proc/diag/gpiomask
0x0000
I am new to OpenWrt, so please forgive me if I am missing something obvious.