This commit is contained in:
longpanda
2020-09-02 19:29:19 +08:00
parent d678e54956
commit 9a8d4d0227
17 changed files with 569 additions and 10 deletions

View File

@@ -0,0 +1,22 @@
#!/bin/sh
cd /
tar -xf ventoy.tar.gz
cd /ventoy
mkdir mnt
for i in $(ls tcz/*.tcz); do
mount $i mnt
cp -a mnt/* /
umount mnt
done
ldconfig /usr/local/lib /usr/lib /lib
#workaround for swapon
rm -f /sbin/swapon
echo '#!/bin/sh' > /sbin/swapon
chmod +x /sbin/swapon
sh /ventoy/ventoy.sh