3 # Provides: nfc-manager-daemon
8 # Short-Description: NFC manager
9 # Description: NFC manager
14 # Author: Wonkyu Kwon <wonkyu.kwon@samsung.com>
16 # PATH should only include /usr/* if it runs after the mountnfs.sh script
17 DAEMON=/usr/bin/nfc-manager-daemon
18 DAEMON_ARGS="script" # Arguments to run the daemon with
19 VCONFTOOL=/usr/bin/vconftool
21 # Exit if the package is not installed
22 [ -x $DAEMON ] || exit 0
23 [ -x $VCONFTOOL ] || exit 0
25 #if vconftool get db/nfc/enable | grep -q "db/nfc/enable, value = 1 (bool)"
27 if ! ps -f --ppid 1 | grep -q nfc-manager-daemon
29 $DAEMON $DAEMON_ARGS &