Skip to content

Commit

Permalink
improve install
Browse files Browse the repository at this point in the history
  • Loading branch information
arrase committed Apr 22, 2017
1 parent 88be8db commit de8cb1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ grep bluetoothd\ --compat /lib/systemd/system/bluetooth.service || sudo sed 's/b
[ -d $ETC_DIR/keyboard_layouts ] || sudo cp -r etc/raspiducky/keyboard_layouts $ETC_DIR/keyboard_layouts
[ -d $ETC_DIR/onboot_payload ] || sudo mkdir $ETC_DIR/onboot_payload

echo "$CONFIG_DISK $ETC_DIR vfat loop,rw 0 2" | sudo tee --append /etc/fstab
sudo cp $ETC_DIR/keyboard_layouts/db/QWERTY-ES_es.py $ETC_DIR/keyboard_layouts/current.py
grep $CONFIG_DISK /etc/fstab || (echo "$CONFIG_DISK $ETC_DIR vfat loop,rw 0 2" | sudo tee --append /etc/fstab)
[ -f $ETC_DIR/keyboard_layouts/current.py ] || sudo cp $ETC_DIR/keyboard_layouts/db/QWERTY-ES_es.py $ETC_DIR/keyboard_layouts/current.py

# BOOT CONFIG
grep "dtoverlay=dwc2" /boot/config.txt || (echo "dtoverlay=dwc2" | sudo tee --append /boot/config.txt)
Expand Down

0 comments on commit de8cb1d

Please sign in to comment.