mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-06-04 00:48:48 -04:00
update
This commit is contained in:
parent
6434e453b2
commit
f2ed81b004
25 changed files with 289 additions and 20 deletions
|
@ -19,7 +19,13 @@
|
|||
|
||||
. $VTOY_PATH/hook/ventoy-os-lib.sh
|
||||
|
||||
$SED "/mount.*devtmpfs/a $BUSYBOX_PATH/sh $VTOY_PATH/hook/wifislax/disk_hook.sh" -i /linuxrc
|
||||
if [ -e /linuxrc ]; then
|
||||
INITFILE=/linuxrc
|
||||
elif [ -e /init ]; then
|
||||
INITFILE=/init
|
||||
fi
|
||||
|
||||
$SED "/mount.*devtmpfs/a $BUSYBOX_PATH/sh $VTOY_PATH/hook/wifislax/disk_hook.sh" -i $INITFILE
|
||||
|
||||
#replace original blkid
|
||||
$BUSYBOX_PATH/rm -f /usr/bin/blkid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue