summarylogtreecommitdiffstats
path: root/usb-tethering.service
blob: d91fad71cdef4536178f13bd767d6bfc6f0e939e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# systemd service file for usb-tethering

[Unit]
Wants=dhcpd4.service
Description=USB Tethering
ConditionPathExists=/sys/class/android_usb/android0

[Service]
Type=oneshot
ExecStart=/bin/bash /usr/bin/usb-tethering

[Install]
WantedBy=multi-user.target