Skip to content

Instantly share code, notes, and snippets.

@fionn
Created June 18, 2017 12:13
Show Gist options
  • Save fionn/851f193b4e9ae0829bc6d942be698de5 to your computer and use it in GitHub Desktop.
Save fionn/851f193b4e9ae0829bc6d942be698de5 to your computer and use it in GitHub Desktop.
# Execute pairing program when appropriate
ACTION=="add|remove", SUBSYSTEM=="net", ATTR{idVendor}=="18d1" ENV{ID_USB_DRIVER}=="rndis_host", SYMLINK+="android", RUN+="/usr/bin/systemctl restart systemd-networkd.service"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment