mirror of
https://github.com/ventoy/Ventoy.git
synced 2026-11-02 19:31:59 +00:00
Improve ISO partition auto mount for different Linux distros.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/ventoy/busybox/sh
|
||||
|
||||
. /ventoy/hook/ventoy-hook-lib.sh
|
||||
|
||||
PATH=$BUSYBOX_PATH:$VTOY_PATH/tool:$PATH
|
||||
|
||||
vtlog "####### $0 $* ########"
|
||||
|
||||
vtoy_udev_auto_hook() {
|
||||
if [ -d $VT_DRACUT_HOOKS/pre-pivot ]; then
|
||||
vtlog "dracut distro"
|
||||
ventoy_dracut_pivot_udev_rule
|
||||
fi
|
||||
}
|
||||
|
||||
vtoy_udev_auto_hook
|
||||
Reference in New Issue
Block a user