Codebase list google-nexus-tools / 39f8698a-3d27-42e1-94cd-2d7ae04ac65f/main debian / postinst
39f8698a-3d27-42e1-94cd-2d7ae04ac65f/main

Tree @39f8698a-3d27-42e1-94cd-2d7ae04ac65f/main (Download .tar.gz)

postinst @39f8698a-3d27-42e1-94cd-2d7ae04ac65f/mainraw · history · blame

1
2
3
4
5
6
7
8
#!/bin/bash

mv /etc/udev/rules.d/udev.txt /etc/udev/rules.d/51-android.rules 2>/dev/null
chmod 644 /etc/udev/rules.d/51-android.rules
chown root. /etc/udev/rules.d/51-android.rules 2>/dev/null
service udev restart 2>/dev/null
chmod +x /usr/bin/nexus-adb
chmod +x /usr/bin/nexus-fastboot