Skip to content

Commit 2e78ae8

Browse files
author
gitovski
committed
hitting enter
1 parent e62b80f commit 2e78ae8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

first-boot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,10 @@ echo "Root Script Starting BOYYYYYYYYY..."
7575
# Root the VM
7676
git clone https://gitlab.com/newbit/rootAVD.git
7777
pushd rootAVD
78-
sed -i '/read -t 10 choice/{n;s/choice=1/choice=2/;}' rootAVD.sh
78+
sed -i 's/read -t 10 choice/choice=2/' rootAVD.sh
7979
./rootAVD.sh system-images/android-30/default/x86_64/ramdisk.img FAKEBOOTIMG
80+
sleep 55
81+
echo
8082
cp /opt/android-sdk/system-images/android-30/default/x86_64/ramdisk.img /data/android.avd/ramdisk.img
8183
popd
8284
echo "Root Done"

0 commit comments

Comments
 (0)