tizen_2.0_build
[framework/system/system-server.git] / debian / system-server-bin.postinst.in
1 #!/bin/sh
2
3 vconftool set -t int memory/sysman/usbhost_status -1 -i
4 vconftool set -t int memory/sysman/mmc -1 -i
5 vconftool set -t int memory/sysman/earjack_key 0 -i
6
7 vconftool set -t int memory/sysman/added_usb_storage 0 -i
8 vconftool set -t int memory/sysman/removed_usb_storage 0 -i
9 vconftool set -t int memory/sysman/charger_status -1 -i
10 vconftool set -t int memory/sysman/charge_now -1 -i
11 vconftool set -t int memory/sysman/battery_status_low -1 -i
12 vconftool set -t int memory/sysman/battery_capacity -1 -i
13 vconftool set -t int memory/sysman/usb_status -1 -i
14 vconftool set -t int memory/sysman/earjack -1 -i
15 vconftool set -t int memory/sysman/low_memory 1 -i
16 vconftool set -t int memory/sysman/sliding_keyboard -1 -i
17 vconftool set -t int memory/sysman/mmc_mount -1 -i
18 vconftool set -t int memory/sysman/mmc_unmount -1 -i
19 vconftool set -t int memory/sysman/mmc_format -1 -i
20
21 vconftool set -t string memory/private/sysman/added_storage_uevent "" -i
22 vconftool set -t string memory/private/sysman/removed_storage_uevent "" -i
23
24
25 heynotitool set power_off_start
26
27 heynotitool set mmcblk_add
28 heynotitool set mmcblk_remove
29
30 heynotitool set device_usb_chgdet
31 heynotitool set device_ta_chgdet
32 heynotitool set device_earjack_chgdet
33 heynotitool set device_earkey_chgdet
34 heynotitool set device_tvout_chgdet
35 heynotitool set device_hdmi_chgdet
36 heynotitool set device_charge_chgdet
37 heynotitool set device_keyboard_chgdet
38 heynotitool set device_keyboard_add
39 heynotitool set device_keyboard_remove
40 heynotitool set device_mouse_add
41 heynotitool set device_mouse_remove
42
43 mkdir -p /etc/udev/rules.d
44 if ! [ -L /etc/udev/rules.d/91-system-server.rules ]; then
45         ln -s @PREFIX@/share/system-server/udev-rules/91-system-server.rules /etc/udev/rules.d/91-system-server.rules
46 fi
47