# 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