summaryrefslogtreecommitdiff
path: root/debian/libug-setting-nfc-efl.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libug-setting-nfc-efl.postinst')
-rw-r--r--debian/libug-setting-nfc-efl.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/libug-setting-nfc-efl.postinst b/debian/libug-setting-nfc-efl.postinst
new file mode 100644
index 0000000..7a41673
--- /dev/null
+++ b/debian/libug-setting-nfc-efl.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+if [ ${USER} == "root" ]
+then
+vconftool set -t bool db/nfc/enable 0 -u 5000
+else
+vconftool set -t bool db/nfc/enable 0
+fi