diff --git a/build/linux/dist/arduino-linux-setup.sh b/build/linux/dist/arduino-linux-setup.sh index ea71e0d00..aeb890f4d 100755 --- a/build/linux/dist/arduino-linux-setup.sh +++ b/build/linux/dist/arduino-linux-setup.sh @@ -19,6 +19,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . # +# Release v11 changelog : +# +# + Fixing ModemManager removal for Fedora Core +# + Adding Atmel ICE Debugger CMSIS-DAP rule +# # Release v10 changelog : # # + Adding support for Slackware @@ -62,6 +67,8 @@ # + now the script checks for SUDO permissions # +#!/bin/bash + # if [[ $EUID != 0 ]] ; then # echo This must be run as root! # exit 1 @@ -91,8 +98,11 @@ groupsfunc () { echo "******* Add User to dialout,tty, uucp, plugdev groups *******" echo "" - sudo groupadd plugdev + sudo groupadd tty sudo groupadd dialout + sudo groupadd uucp + sudo groupadd plugdev + sudo usermod -a -G tty $1 sudo usermod -a -G dialout $1 sudo usermod -a -G uucp $1 @@ -116,7 +126,7 @@ EOF openocdrules () { echo "" - echo "# Adding Arduino M0/M0 Pro, Primo UDEV Rules for CMSIS-DAP port" + echo "# Adding Arduino M0/M0 Pro, Primo, Atmel ICE Debugger UDEV Rules for CMSIS-DAP port" echo "" cat <