summaryrefslogtreecommitdiff
path: root/debian/org.tizen.pwlock.postinst
blob: 5665988a746e79f35ea99933c622f0ad46ef716b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#This is pwlock postinst file

GOPTION=""  # Set without -g, -u options
if [ ${USER} == "root" ]
then
  # 5000 is inhouse user id
  # do not use relative path
  chown -R 5000:5000 /opt/apps/org.tizen.pwlock/data

  # Set vconf values with -g/-u options
  GOPTION="-g 6514"
fi

#echo $GOPTION

# check first boot
vconftool $GOPTION set -t bool db/pwlock/first_boot "1"
#vconftool $GOPTION set -t int db/setting/phone_lock_attempts_left "5"
#vconftool $GOPTION set -t string db/setting/phone_lock_timestamp ""