X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/05a1b863a66bf72b26e5d87570c4e0e61b9736cd..a6d3ecc7a9b01e6cd7a08bb03ca72a88f928df8d:/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh diff --git a/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh b/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh index a281df9..19b9068 100644 --- a/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh @@ -19,6 +19,17 @@ . $VTOY_PATH/hook/ventoy-os-lib.sh -ventoy_systemd_udevd_work_around +if [ -f $VTOY_PATH/autoinstall ]; then + if [ -f /linuxrc.config ]; then + echo "AutoYaST: file:///ventoy/autoinstall" >> /info-ventoy + $SED "1 iinfo: file:/info-ventoy" -i /linuxrc.config + fi +fi + +#echo "Exec: /bin/sh $VTOY_PATH/hook/suse/cdrom-hook.sh" >> /info-ventoy +#echo "install: hd:/?device=/dev/mapper/ventoy" >> /info-ventoy +#$SED "1 iinfo: file:/info-ventoy" -i /linuxrc.config + +ventoy_systemd_udevd_work_around ventoy_add_udev_rule "$VTOY_PATH/hook/suse/udev_disk_hook.sh %k"