mirror of
https://github.com/Anime4000/RTL960x.git
synced 2024-07-06 06:09:25 +00:00
prevent stick become brick
add `chmod +x /bin -R` before repacking
This commit is contained in:
parent
82ae8a07e7
commit
74ca55a3e9
|
@ -81,7 +81,10 @@ fi
|
||||||
|
|
||||||
echo "RTL9601C1 Emulator is Running!"
|
echo "RTL9601C1 Emulator is Running!"
|
||||||
chroot "$CHDIR" qemu-mips-static "/bin/sh"
|
chroot "$CHDIR" qemu-mips-static "/bin/sh"
|
||||||
echo "User end QEMU..."
|
echo "User End QEMU..."
|
||||||
|
|
||||||
|
echo "chmod +x /bin folder, prevent stick become brick!"
|
||||||
|
chmod +x "$CHDIR/bin" -R
|
||||||
|
|
||||||
echo "Unmounting..."
|
echo "Unmounting..."
|
||||||
rm -rf "$CHDIR/usr/bin"
|
rm -rf "$CHDIR/usr/bin"
|
||||||
|
@ -105,4 +108,4 @@ echo ""
|
||||||
echo "Anime4000 firmware test script, https://github.com/Anime4000/RTL9601C1"
|
echo "Anime4000 firmware test script, https://github.com/Anime4000/RTL9601C1"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user