Tizen release 1.0
[pkgs/p/phone-lock.git] / debian / org.tizen.phone-lock.postinst
1 #!/bin/sh
2 #This is pwlock postinst file
3
4 GOPTION=""  # Set without -g, -u options
5 if [ ${USER} == "root" ]
6 then
7   # 5000 is inhouse user id
8   # do not use relative path
9   chown -R 5000:5000 /opt/apps/org.tizen.phone-lock/data
10
11   # Set vconf values with -g/-u options
12   GOPTION="-g 6514"
13 fi
14
15 #echo $GOPTION
16
17 # check first boot
18 #vconftool $GOPTION set -t int db/setting/phone_lock_attempts_left "5"
19 #vconftool $GOPTION set -t string db/setting/phone_lock_timestamp ""
20