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