Skip to content

Commit

Permalink
Aaand I don't know what I'm doing anymore (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Biktorgj committed Jul 24, 2021
1 parent 175d94c commit a7e4be1
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 echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2
sudo su -c 'echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2'
fastboot oem stay
fastboot flash aboot appsboot.mbn
fastboot reboot-bootloader
Expand Down

1 comment on commit a7e4be1

@dogtopus
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might be better to use sudo sh -c instead since su may not work when root account is disabled

Please sign in to comment.