/lib/systemd/system/bluetooth-touch.service is in bluetooth-touch 0.3.3+16.04.20160201-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | [Unit]
Description=Bluetooth init for Touch devices
Before=bluetooth.service
ConditionFileIsExecutable=/usr/bin/getprop
[Service]
# Set Type=forking even for oneshot scripts as some are forking.
# This enables to have pre-start always to be executed before bluetooth.service
Type=forking
ExecStart=/bin/sh -ec 'SCRIPT=/usr/share/bluetooth-touch/`getprop ro.product.device`; [ \( ! -x $SCRIPT \) -o \( ! -f $SCRIPT \) ] || exec $SCRIPT'
[Install]
WantedBy=bluetooth.target
|