-pkg_postinst_alarm-server() {
- #!/bin/sh -e
-
- vconftool set -t int db/system/timechange 0
- vconftool set -t double db/system/timechange_external 0
- # Temporary workaround needed to generate the image
- #vconftool set -t int memory/system/timechanged 0 -i -g 5000
- systemctl daemon-reload
- if [ $1 == 1 ]; then
- systemctl restart alarm-server.service
- fi
-}
-pkg_postinst_${PN}() {
- #!/bin/sh -e
-
- [ "x\$D" == "x" ] && ldconfig
- vconftool set -tf int db/bluetooth/status "0" -g 6520
- vconftool set -tf int file/private/bt-service/flight_mode_deactivated "0" -g 6520 -i
- # Temporary workaround needed to generate the image
- #vconftool set -tf string memory/bluetooth/sco_headset_name "" -g 6520 -i
- #vconftool set -tf int memory/bluetooth/device "0" -g 6520 -i
- #vconftool set -tf int memory/bluetooth/btsco "0" -g 6520 -i
-}
do_install_append() {
rm -fr ${D}/etc
}
-
-pkg_postinst_${PN}() {
- #!/bin/sh -e
-
- vconftool set -t int db/filemanager/dbupdate "1" -f
- # Temporary workaround needed to generate the image
- #vconftool set -t int memory/filemanager/Mmc "0" -i -f
- #vconftool set -t string db/private/mediaserver/mmc_info "" -f
- vconftool set -t int file/private/mediaserver/scan_internal "1" -f
- vconftool set -t int file/private/mediaserver/scan_directory "1" -f
- chgrp users $D${prefix}/bin/media-data-sdk_create_db.sh
- chgrp -R users $D${prefix}/data/data-media
-}
-pkg_postinst_${PN}() {
- #!/bin/sh -e
-
- # Temporary remove failing vconftool commands
- #vconftool set -t int memory/dnet/state 0 -i
- #vconftool set -t int memory/wifi/state 0 -i
- #vconftool set -t int memory/wifi/transfer_state 0 -i
- #vconftool set -t int memory/wifi/strength 0 -i
- #vconftool set -t int memory/wifi/bgscan_mode 0 -i
- #vconftool set -t int memory/dnet/wifi 0 -i
- #vconftool set -t int memory/dnet/network_config 0 -i
- #vconftool set -t int memory/dnet/status 0 -i
- #vconftool set -t string memory/dnet/ip "" -i
- #vconftool set -t string memory/dnet/proxy "" -i
- #vconftool set -t string memory/wifi/connected_ap_name "" -i
- #vconftool set -t string db/wifi/bssid_address ""
- #Default Call Statistics
- vconftool set -t int db/dnet/statistics/cellular/totalsnt "0"
- vconftool set -t int db/dnet/statistics/cellular/totalrcv "0"
- vconftool set -t int db/dnet/statistics/cellular/lastsnt "0"
- vconftool set -t int db/dnet/statistics/cellular/lastrcv "0"
- vconftool set -t int db/dnet/statistics/wifi/totalsnt "0"
- vconftool set -t int db/dnet/statistics/wifi/totalrcv "0"
- vconftool set -t int db/dnet/statistics/wifi/lastsnt "0"
- vconftool set -t int db/dnet/statistics/wifi/lastrcv "0"
- vconftool set -t int file/private/wifi/last_power_state "0"
- systemctl daemon-reload
- if [ "$1" == "1" ]; then
- systemctl restart net-config.service
- fi
-
-}
\ No newline at end of file