X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/c84c07220934096e561b5be472a192cd2fa92716..d0edcc0ef0b6ef695ce96d2be84f1ebb02453b51:/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh?ds=sidebyside 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"