add sudo to cp command, improve comment
This commit is contained in:
parent
9fad32e199
commit
0f469082a6
|
@ -17,8 +17,8 @@ On Arch it should be enough to follow the [instructions for connecting a device
|
|||
# Clone this repository
|
||||
git clone https://github.com/M0Rf30/android-udev-rules.git
|
||||
# Copy rules file
|
||||
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 cp -v ./android-udev-rules/51-android.rules /etc/udev/rules.d/51-android.rules
|
||||
# OR oreate a sym-link to the rules file - choose this option if you'd like to update your udev rules using git.
|
||||
sudo ln -sf $PWD/android-udev-rules/51-android.rules /etc/udev/rules.d/51-android.rules
|
||||
# Change file permissions
|
||||
sudo chmod a+r /etc/udev/rules.d/51-android.rules
|
||||
|
|
Loading…
Reference in New Issue