Temat: Netgear NDR3700v2 problem z przyciskami
Chcę zmodyfikować działanie przycisków w NDR3700v2 ale coś jest nie tak:
root@OpenWrt:~# logread
Aug 5 17:03:07 OpenWrt user.notice root: BTN_2
Aug 5 17:03:07 OpenWrt user.notice root: pressed
Aug 5 17:03:07 OpenWrt user.notice root: BTN_2
Aug 5 17:03:07 OpenWrt user.notice root: released
Aug 5 17:03:08 OpenWrt user.notice root: wps
Aug 5 17:03:08 OpenWrt user.notice root: pressed
Aug 5 17:03:08 OpenWrt user.notice root: wps
Aug 5 17:03:08 OpenWrt user.notice root: released
root@OpenWrt:~# cat /etc/hotplug.d/button/00-button
if [ "$ACTION" = "pressed" ]; then
if [ "$BUTTON" = "BTN_2" ]; then
/usr/bin/sms1.sh
elif [ "$BUTTON" = "wps" ]; then
/usr/bin/sms2.sh
fi
fi
Po przyciśnięciu przycisku nie wykonuje skryptów /usr/bin/sms1.sh
Co z /etc/config/system ?