View Single Post
Posts: 22 | Thanked: 22 times | Joined on Jul 2010
#7
Indeed Matan, this one works for me:
Code:
start on startup
stop on starting hildon-desktop

console none

pre-start script
  /usr/bin/gconftool -s -t bool /system/osso/dsm/locks/devicelock_autolock_enabled true
end script

pre-stop script
  /usr/bin/gconftool -s -t bool /system/osso/dsm/locks/devicelock_autolock_enabled false
end script

service
Throw it into /etc/event.d/ and you're done.
 

The Following 2 Users Say Thank You to tjsgls For This Useful Post: