summaryrefslogtreecommitdiff
path: root/debian/libslp-location.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libslp-location.postinst')
-rwxr-xr-xdebian/libslp-location.postinst38
1 files changed, 0 insertions, 38 deletions
diff --git a/debian/libslp-location.postinst b/debian/libslp-location.postinst
deleted file mode 100755
index d3e98d7..0000000
--- a/debian/libslp-location.postinst
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-
-#setting
-vconftool set -t int db/location/last/gps/Timestamp "0" -f
-vconftool set -t double db/location/last/gps/Latitude "0.0" -f
-vconftool set -t double db/location/last/gps/Longitude "0.0" -f
-vconftool set -t double db/location/last/gps/Altitude "0.0" -f
-vconftool set -t double db/location/last/gps/HorAccuracy "0.0" -f
-vconftool set -t double db/location/last/gps/VerAccuracy "0.0" -f
-vconftool set -t double db/location/last/gps/Speed "0.0" -f
-vconftool set -t double db/location/last/gps/Direction "0.0" -f
-vconftool set -t int db/location/last/wps/Timestamp "0" -f
-vconftool set -t double db/location/last/wps/Latitude "0.0" -f
-vconftool set -t double db/location/last/wps/Longitude "0.0" -f
-vconftool set -t double db/location/last/wps/Altitude "0.0" -f
-vconftool set -t double db/location/last/wps/HorAccuracy "0.0" -f
-vconftool set -t double db/location/last/wps/Speed "0.0" -f
-vconftool set -t double db/location/last/wps/Direction "0.0" -f
-vconftool set -t int db/location/last/cps/Timestamp "0" -f
-vconftool set -t double db/location/last/cps/Latitude "0.0" -f
-vconftool set -t double db/location/last/cps/Longitude "0.0" -f
-vconftool set -t double db/location/last/cps/Altitude "0.0" -f
-vconftool set -t double db/location/last/cps/HorAccuracy "0.0" -f
-if [ "${USER}" = "root" ]
-then
-vconftool set -t int db/location/setting/GpsEnabled "0" -g 6514 -f
-vconftool set -t int db/location/setting/AgpsEnabled "0" -g 6514 -f
-vconftool set -t int db/location/setting/NetworkEnabled "0" -g 6514 -f
-vconftool set -t int db/location/setting/SensorEnabled "0" -g 6514 -f
-else
-
-vconftool set -t int db/location/setting/GpsEnabled "0" -g -f
-vconftool set -t int db/location/setting/AgpsEnabled "0" -f
-vconftool set -t int db/location/setting/NetworkEnabled "0" -f
-vconftool set -t int db/location/setting/SensorEnabled "0" -f
-fi
-
-sync