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!"
|
||||
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..."
|
||||
rm -rf "$CHDIR/usr/bin"
|
||||
|
|
Loading…
Reference in New Issue
Block a user