0728a593cd633a30d7213c86556e6b0711fc96ff
[framework/system/system-server.git] / debian / system-server-bin.postinst.in
1 #!/bin/sh
2
3 vconftool set -t int memory/Battery/Charger -1 -i
4 vconftool set -t int memory/Battery/Status/Low -1 -i
5 vconftool set -t int memory/Battery/Capacity -1 -i
6 vconftool set -t int memory/Device/EarJackKey 0 -i
7 vconftool set -t int db/system/timechange 0 -i
8 vconftool set -t int memory/sysman/low_memory 1 -i
9 vconftool set -t int memory/Connectivity/USB -1 -i
10 vconftool set -t int memory/Device/mmc_format 0 -i
11
12 vconftool set -t int memory/Device/Mmc -1 -i
13 vconftool set -t int memory/Device/mmc_mount -1 -i
14 vconftool set -t int memory/Device/mmc_unmount -1 -i
15 vconftool set -t int memory/Device/mmc_format -1 -i
16
17 vconftool set -t int db/MainLCD/Backlight/Normal -1 -i
18 vconftool set -t int memory/Device/EarJack -1 -i
19 vconftool set -t int memory/Device/Cradle/Status -1 -i
20 vconftool set -t int memory/Device/Sliding_keyboard -1 -i
21
22 vconftool set -t int memory/Device/usbhost/added_storage 0 -i
23 vconftool set -t int memory/Device/usbhost/removed_storage 0 -i
24
25 vconftool set -t string memory/Device/usbhost/added_storage_uevent "" -i
26 vconftool set -t string memory/Device/usbhost/removed_storage_uevent "" -i
27
28 vconftool set -t int memory/Device/usbhost/connect -1 -i
29
30 heynotitool set power_off_start
31
32 heynotitool set mmcblk_add
33 heynotitool set mmcblk_remove
34
35 heynotitool set device_usb_chgdet
36 heynotitool set device_ta_chgdet
37 heynotitool set device_earjack_chgdet
38 heynotitool set device_earkey_chgdet
39 heynotitool set device_tvout_chgdet
40 heynotitool set device_hdmi_chgdet
41 heynotitool set device_cradle_chgdet
42 heynotitool set device_charge_chgdet
43 heynotitool set device_keyboard_chgdet
44
45 mkdir -p /etc/udev/rules.d
46 if ! [ -L /etc/udev/rules.d/91-system-server.rules ]; then
47         ln -s @PREFIX@/share/system-server/udev-rules/91-system-server.rules /etc/udev/rules.d/91-system-server.rules
48 fi
49