Skip to content

Commit

Permalink
copy 52-hdmi2usb.rules from same dir script is in.
Browse files Browse the repository at this point in the history
#bash is very helpful and this is a good read.  both entertaining and useful.
!faq location; greybot: http://mywiki.wooledge.org/BashFAQ/028 -- How do I determine the location of my script?  I want to read some config files from the same place.
  • Loading branch information
CarlFK committed Sep 22, 2015
1 parent f032029 commit 618c24a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/get-env-root.sh
Expand Up @@ -27,8 +27,7 @@ sudo apt-get install -y libreadline-dev libusb-1.0-0-dev python-yaml sdcc fxload

# Load custom udev rules
(
cd $SETUP_DIR
sudo cp -uf 52-hdmi2usb.rules /etc/udev/rules.d/
cp -uf ${BASH_SOURCE%/*}/52-hdmi2usb.rules /etc/udev/rules.d/
sudo adduser $USER dialout
)

Expand Down

0 comments on commit 618c24a

Please sign in to comment.