|
2012-05-24
, 14:56
|
Posts: 9 |
Thanked: 1 time |
Joined on May 2012
|
#502
|
|
2012-05-25
, 21:04
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#503
|
If you use RescueOS or other bootable system for Maemo which is booted from flasher, eMMC and rootfs can be read without problem.
|
2012-05-27
, 04:34
|
Posts: 153 |
Thanked: 81 times |
Joined on Dec 2011
@ P town
|
#504
|
Cmon, you are not serious, or?
Menu - System Settings - Section General, Device lock
|
2012-05-28
, 11:49
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#505
|
#!/bin/sh
#configure timeout, may be any integer value from 1 to 999?
#iTimeout=1
echo "input timeout in minutes (integer)"
read iTimeout
##read
#system
echo old system settings
gconftool -g /system/osso/dsm/locks/devicelock_autolock_enabled
gconftool -g /system/osso/dsm/locks/devicelock_autolock_timeout
#applet
echo old applet settings
gconftool -g /apps/osso/applet/osso-applet-devicelock/device_lock
gconftool -g /apps/osso/applet/osso-applet-devicelock/autolock_period
##set
#system
gconftool -s /system/osso/dsm/locks/devicelock_autolock_enabled -t bool true
gconftool -s /system/osso/dsm/locks/devicelock_autolock_timeout -t int $iTimeout
#applet, will only accept and show 5, 10, 30, 60
gconftool -s /apps/osso/applet/osso-applet-devicelock/device_lock -t bool true
gconftool -s /apps/osso/applet/osso-applet-devicelock/autolock_period -t int $iTimeout
#new values
echo new system settings
gconftool -g /system/osso/dsm/locks/devicelock_autolock_enabled
gconftool -g /system/osso/dsm/locks/devicelock_autolock_timeout
echo "new (maybe not displayable) applet settings"
gconftool -g /apps/osso/applet/osso-applet-devicelock/device_lock
gconftool -g /apps/osso/applet/osso-applet-devicelock/autolock_period
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2012-05-28
, 14:54
|
Posts: 153 |
Thanked: 81 times |
Joined on Dec 2011
@ P town
|
#506
|
|
2012-05-28
, 19:12
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#507
|
Are your script replace the the lowest value (5 minutes)?
Is it permanent? Will it still there after reboot?
btw, your echo line need "\", otherwise it complain about unexpected ")"
echo new \(maybe not displayable\) applet settings
|
2012-05-29
, 05:46
|
Posts: 153 |
Thanked: 81 times |
Joined on Dec 2011
@ P town
|
#508
|
#!/bin/sh #configure timeout, may be any integer value from 1 to 999? lock=`gconftool -g /system/osso/dsm/locks/devicelock_autolock_enabled` Timeout=`gconftool -g /system/osso/dsm/locks/devicelock_autolock_timeout` if $lock ; then echo "input timeout in minutes (integer)" read iTimeout gconftool -s /system/osso/dsm/locks/devicelock_autolock_enabled -t bool true gconftool -s /system/osso/dsm/locks/devicelock_autolock_timeout -t int $iTimeout #applet, will only accept and show 5, 10, 30, 60 gconftool -s /apps/osso/applet/osso-applet-devicelock/device_lock -t bool true gconftool -s /apps/osso/applet/osso-applet-devicelock/autolock_period -t int $iTimeout echo Change device lock timeout from $Timeout minute\(s\) to $iTimeout minute\(s\) else echo "Device autolock disable. Enable it from Menu->System->Settings->Device lock." fi
|
2012-05-29
, 07:51
|
Posts: 1 |
Thanked: 0 times |
Joined on May 2012
|
#509
|
|
2012-05-29
, 12:16
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#510
|
peterleinchen,
I have edited your script, to make it cleaner.
Thanks again. Sorry for asking an oot question.
Tags |
devicelock, nokia n900 |
|
..but LUKS is good method for crypting data