View Single Post
Posts: 208 | Thanked: 220 times | Joined on Apr 2010
#362
Code:
xxx=`echo '$QBW_DBUS_VERBOSE_OUTPUT' |  tail -1 | cut -d \" -f 2`;if [ "$xxx" == "locked" ] ; then <action_if_locked>; else <action_if_unlocked>; fi
Yup did that, but "locked" executed a command that activated on_sight, so now its counter command tucked
inside "unlocked" never gets executed
I'll get back to you with code