Skip to content

Commit

Permalink
Merge pull request #21 from dogtopus/no-su
Browse files Browse the repository at this point in the history
Use sh -c instead of su in flashall script.
  • Loading branch information
Biktorgj authored Aug 1, 2021
2 parents 3d599e7 + 9409129 commit c2ef810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/helpers/flashall
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Just so you dont have to write.
# Reboot the modem into fastboot mode
# flash kernel + rootfs and reboot
sudo su -c 'echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2'
sudo sh -c 'echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2'
fastboot oem stay
fastboot flash aboot appsboot.mbn
fastboot reboot-bootloader
Expand Down

0 comments on commit c2ef810

Please sign in to comment.