diff --git a/files/etc/gl-switch.d/sim.sh b/files/etc/gl-switch.d/sim.sh new file mode 100644 index 0000000..f06278f --- /dev/null +++ b/files/etc/gl-switch.d/sim.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +action=$1 + +if [ "$action" = "on" ];then + echo "on" > /tmp/sim_change_switch + +elif [ "$action" = "off" ];then + echo "off" > /tmp/sim_change_switch +else + echo "off" > /tmp/sim_change_switch +fi +sleep 1 +