mirror of
https://github.com/ventoy/Ventoy.git
synced 2024-12-27 15:45:58 -05:00
13 lines
222 B
Bash
13 lines
222 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
|
||
|
exec /init
|