#!/bin/sh

switch_file=/var/run/twice2down/disabled

if [ "$1" == "off" ]
then
	echo "1" > $switch_file
elif [ "$1" == "on" ]
then
	echo "0" > $switch_file
else
	echo "Usage: $0 [on|off]"
	echo
fi

