mirror of
https://github.com/ventoy/Ventoy.git
synced 2024-11-11 13:10:38 +00:00
15 lines
241 B
Bash
15 lines
241 B
Bash
#!/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
|
|
|
|
ln -s /lib /lib64
|
|
exec /init
|