diff --git a/README.md b/README.md index e922746..05a4be5 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,10 @@ adb devices # You should now see your device ``` +### Using the automtic install script +1. Clone this repository +2. Run the `install.sh` as root on your terminal + ## To Contribute 1. Fork this repository. diff --git a/install.sh b/install.sh index fc5f88a..f7c4bfb 100755 --- a/install.sh +++ b/install.sh @@ -21,7 +21,7 @@ else groupadd adbusers fi -usermod -a -G adbusers "$USER" +usermod -a -G adbusers "$(logname)" udevadm control --reload-rules if [ "$USE_SERVICE_CMD" = "true" ]; then