2 # This script has to be launched by systemd obex service.
3 # It was separated from the systemd service to check
4 # the presence of obex root directory. If the directory
5 # does not exist, then create it.
6 if [ ! -z `ps ax | grep -v grep | grep obexd` ];
10 eval $(tzplatform-get TZ_USER_CONTENT);
12 if [ ! -d $TZ_USER_CONTENT ];
13 then mkdir -p $TZ_USER_CONTENT;
16 exec /lib/bluetooth/obexd -d --noplugin=syncevolution,pcsuite,irmc --symlinks -r $TZ_USER_CONTENT;