Codebase list google-nexus-tools / run/41dd6829-71b8-4602-a82d-fbda012ba83c/main debian / postinst
run/41dd6829-71b8-4602-a82d-fbda012ba83c/main

Tree @run/41dd6829-71b8-4602-a82d-fbda012ba83c/main (Download .tar.gz)

postinst @run/41dd6829-71b8-4602-a82d-fbda012ba83c/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