You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

00-run.sh 563 B

12345678910111213141516171819
  1. #!/bin/bash -e
  2. on_chroot << EOF
  3. mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
  4. cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
  5. if [ ! -d "sdrplay" ]; then
  6. mkdir -p sdrplay
  7. fi
  8. wget https://www.sdrplay.com/software/SDRplay_RSP_API-ARM32-3.07.2.run
  9. chmod +x ./SDRplay_RSP_API-ARM32-3.07.2.run
  10. ./SDRplay_RSP_API-ARM32-3.07.2.run --check
  11. ./SDRplay_RSP_API-ARM32-3.07.2.run --noexec --target .
  12. sed -i 's/more sdrplay_license.txt//g' install_lib.sh
  13. sed -i 's/armv7l/armv8l/g' install_lib.sh
  14. printf "\ny\ny\ny\n" | ./install_lib.sh
  15. systemctl enable sdrplay
  16. EOF