From 94091291235d0b1de390c559f03265bae0c0a62d Mon Sep 17 00:00:00 2001 From: dogtopus Date: Sat, 31 Jul 2021 00:51:56 -0300 Subject: [PATCH] Use sh -c instead of su in flashall script. Since `su` may not work when root account is explicitly disabled and `sh -c` is what `su` will internally invoke anyway. --- tools/helpers/flashall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/helpers/flashall b/tools/helpers/flashall index 2f6d16f..5576c9f 100644 --- a/tools/helpers/flashall +++ b/tools/helpers/flashall @@ -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