mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-28 08:21:14 +00:00
update
This commit is contained in:
12
LiveCD/VTOY/ventoy/init.sh
Normal file
12
LiveCD/VTOY/ventoy/init.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
cat /ventoy/modlist | while read line; do
|
||||
if [ -e /ventoy/drivers/${line}.ko ]; then
|
||||
insmod /ventoy/drivers/${line}.ko
|
||||
fi
|
||||
done
|
||||
|
||||
sleep 5
|
||||
|
||||
echo "sh /ventoy/profile.sh" >> /root/.profile
|
||||
exec /init
|
Reference in New Issue
Block a user