wifipineapple-openwrt/package/base-files/files/etc/rc.button/failsafe

4 lines
77 B
Bash
Executable File

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