mirror of https://github.com/ventoy/Ventoy
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
222 B
Bash
13 lines
222 B
Bash
4 years ago
|
#!/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
|