3 if [ "${USER}" = "root" ]
7 chown root:root /etc/rc.d/init.d/gps-manager
8 chown root:root /etc/rc.d/rc3.d/S90gps-manager
9 chown root:root /etc/rc.d/rc5.d/S90gps-manager
10 #Change File Permission
12 chmod 700 /etc/rc.d/init.d/gps-manager
13 chmod 700 /etc/rc.d/rc3.d/S90gps-manager
14 chmod 700 /etc/rc.d/rc5.d/S90gps-manager
18 vconftool set -t int memory/gps/state 0 -i
19 vconftool set -t int memory/wps/state 0 -i
22 vconftool set -t int db/location/gps/Operation "1" -f
23 vconftool set -t int db/location/gps/Starting "0" -f
24 vconftool set -t int db/location/gps/Session "1" -f
27 vconftool set -t string db/location/supl/Server "your.supl-server.com" -f
28 vconftool set -t int db/location/supl/Port "7275" -f
29 vconftool set -t int db/location/supl/SslEnabled "1" -f
32 vconftool set -t int db/location/nmea/LoggingEnabled "0" -f
35 vconftool set -t string db/location/replay/FileName "nmea_replay.log" -f
36 vconftool set -t int db/location/replay/ReplayEnabled "0" -f
37 vconftool set -t int db/location/replay/ReplayMode "1" -f
38 vconftool set -t double db/location/replay/ManualLatitude "0.0" -f
39 vconftool set -t double db/location/replay/ManualLongitude "0.0" -f
40 vconftool set -t double db/location/replay/ManualAltitude "0.0" -f