View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#363
Originally Posted by techie View Post
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
Use also $QBW_ON_SIGHT in your script to test your specific condition and forget @Sight update policy
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras