mirror of
https://github.com/srlabs/blue-merle.git
synced 2025-01-03 03:20:52 -05:00
switch: log action on the toggle
It's a bit easier to follow than looking at the generated files.
This commit is contained in:
parent
55a6f8d10f
commit
ce77151081
@ -2,6 +2,8 @@
|
||||
|
||||
action=$1
|
||||
|
||||
logger -p notice -t blue-merle-toggle "Called... ${action}"
|
||||
|
||||
if [ "$action" = "on" ];then
|
||||
echo "on" > /tmp/sim_change_switch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user