Ventoy/LiveCD/VTOY/ventoy/init.sh

15 lines
241 B
Bash
Raw Permalink Normal View History

2020-09-02 07:29:19 -04:00
#!/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
2021-02-02 08:04:51 -05:00
ln -s /lib /lib64
2020-09-02 07:29:19 -04:00
exec /init