#!/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 ""