mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-28 08:21:14 +00:00
update
This commit is contained in:
22
LiveCD/VTOY/ventoy/profile.sh
Normal file
22
LiveCD/VTOY/ventoy/profile.sh
Normal 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
|
||||
|
Reference in New Issue
Block a user