]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/hook/tinycore/ventoy-hook.sh
1.1.07 release
[Ventoy.git] / IMG / cpio / ventoy / hook / tinycore / ventoy-hook.sh
index b78803094786d51069c47c40bd2ff6ba5ab538d7..2bd18b3e026bc5548745f867135c745b1e606934 100644 (file)
@@ -19,6 +19,5 @@
 
 . $VTOY_PATH/hook/ventoy-os-lib.sh
 
-ventoy_systemd_udevd_work_around
-
-ventoy_add_udev_rule_with_name "$VTOY_PATH/hook/tinycore/udev_disk_hook.sh %k" "90-ventoy.rules"
+$SED "/\[.*-n.*WAITUSB/i\WAITUSB=10" -i /etc/init.d/tc-config
+$SED "/\[.*-n.*AOE/i\$VTOY_PATH/hook/tinycore/ventoy-disk.sh" -i /etc/init.d/tc-config