add command to copy rules file to udev folder, fixed symlink with full-path (realative path did not work for me on Ubuntu 16.04)
This commit is contained in:
parent
d91c7c776a
commit
9fad32e199
|
@ -16,8 +16,10 @@ On Arch it should be enough to follow the [instructions for connecting a device
|
||||||
|
|
||||||
# Clone this repository
|
# Clone this repository
|
||||||
git clone https://github.com/M0Rf30/android-udev-rules.git
|
git clone https://github.com/M0Rf30/android-udev-rules.git
|
||||||
# Create a sym-link to the rules file
|
# Copy rules file
|
||||||
sudo ln -s android-udev-rules/51-android.rules /etc/udev/rules.d/51-android.rules
|
cp -v ./android-udev-rules/51-android.rules /etc/udev/rules.d/51-android.rules
|
||||||
|
# OR oreate a sym-link to the rules file
|
||||||
|
sudo ln -sf $PWD/android-udev-rules/51-android.rules /etc/udev/rules.d/51-android.rules
|
||||||
# Change file permissions
|
# Change file permissions
|
||||||
sudo chmod a+r /etc/udev/rules.d/51-android.rules
|
sudo chmod a+r /etc/udev/rules.d/51-android.rules
|
||||||
# add the adbusers group if it's doesn't already exist
|
# add the adbusers group if it's doesn't already exist
|
||||||
|
|
Loading…
Reference in New Issue