View Single Post
Posts: 79 | Thanked: 53 times | Joined on Jul 2010 @ Ho Chi Minh, Viet Nam
#74
Originally Posted by nastradamus View Post
Try a new version (0.6):

apt-get update
apt-get purge out-call-vibro
apt-get install out-call-vibro
the content of the file:
hor "Victor Yagofarov"

description "Start the Outcoming Call Vibro script"
# generated by postinst

start on started hildon-desktop

script
/bin/chmod -R 777 /sys/class/leds
/bin/mkdir /var/run/out-call-vibro
/bin/chmod -R 777 /var/run/out-call-vibro
if [ -f /var/run/out-call-vibro/out-call-vibro.pid ] ; then /bin/rm /var/run/out-call-vibro/out-call-vibro.pid ; fi

/bin/su - user /usr/bin/run-out-call-vibro.sh
end script