diff options
author | Eric Woudstra | 2023-03-21 16:14:03 +0100 |
---|---|---|
committer | Eric Woudstra | 2023-03-21 16:21:01 +0100 |
commit | 49ab34c0167e5b3781c3e361aa3f7b6954a62e75 (patch) | |
tree | 101b74aee96830e30c6455f0ff91520b572df281 /mkinitcpio.hook | |
parent | 4d519e08a630e8b6a85f35325cb82ec12987d381 (diff) | |
download | aur-49ab34c0167e5b3781c3e361aa3f7b6954a62e75.tar.gz |
Add R64 to flash script
Diffstat (limited to 'mkinitcpio.hook')
-rw-r--r-- | mkinitcpio.hook | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mkinitcpio.hook b/mkinitcpio.hook index 2dd05098d5ee..7fd3013bfd0d 100644 --- a/mkinitcpio.hook +++ b/mkinitcpio.hook @@ -3,9 +3,14 @@ run_hook() { read -n 1 -t 0.3 char - if [[ "$char" == "x" ]]; then + if [[ "$char" == "E" ]]; then + echo "Executing 'bpir-flash2emmc /tmp/bpir.img.xz' ..." + bpir-flash2emmc /tmp/bpir.img.xz echo "Entering busybox ash shell." - echo "Enter 'bpir3-flash2emmc /tmp/bpir.img.xz' to flash it to the EMMC on th R3." + ash + elif [[ "$char" == "x" ]]; then + echo "Entering busybox ash shell." + echo "Enter 'bpir-flash2emmc /tmp/bpir.img.xz' to flash it to the EMMC on th R3." echo "Enter 'exit' to continue booting." ash fi |