1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Rafał Miłecki 1c4216fff8 buttons: make all button handler scripts return 0
this is required by the new button timeout feature

Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46471

SVN-Revision: 46581
2015-08-10 23:58:15 +00:00

6 lines
87 B
Bash
Executable File

#!/bin/sh
[ "${TYPE}" = "switch" ] || echo ${BUTTON} > /tmp/failsafe_button
return 0