Skip to content

Commit

Permalink
Update and rename setup.sh to duckysetup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dee-oh-double-gee committed Jan 4, 2017
1 parent 9e850c4 commit 2eea897
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.sh → duckysetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ sed -i -e "\$adtoverlay=dwc2" /boot/config.txt


##Install git and download rspiducky
apt-get install -y git
git clone https://github.com/dee-oh-double-gee/rspiducky /home/pi
wget https://raw.githubusercontent.com/dee-oh-double-gee/rspiducky/master/usleep.c https://raw.githubusercontent.com/dee-oh-double-gee/rspiducky/master/hid-gadget-test.c https://github.com/dee-oh-double-gee/rspiducky/raw/master/g_hid.ko https://raw.githubusercontent.com/dee-oh-double-gee/rspiducky/master/duckpi.sh


##Compile hid-gadget-test
gcc hid-gadget-test.c -o hid-gadget-test
Expand All @@ -26,7 +26,7 @@ make usleep

##Make all nessisary files executeable
cd /home/pi
chmod 755 hid-gadget-test.c duckpi.sh usleep.c g_hid.ko
chmod 755 hid-gadget-test.c duckpi.sh usleep.c g_hid.ko usleep hid-gadget-test

cp g_hid.ko /lib/modules/4.4.0+/kernel/drivers/usb/gadget/legacy

Expand Down

0 comments on commit 2eea897

Please sign in to comment.