From ba5c0cb7cd9fc28f1e58af4b735323197458a15f Mon Sep 17 00:00:00 2001 From: Jybz Date: Sat, 20 Apr 2024 21:55:21 +0200 Subject: draklive: only pause on shutdown when really needed - origin: https://svnweb.mageia.org/packages/cauldron/dracut/current/SOURCES/0511-mgalive-A-module-to-mount-Mageia-Live-media.patch?r1=1349671&r2=1361037 --- modules.d/90mgalive/mgalive-shutdown.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules.d/90mgalive/mgalive-shutdown.sh b/modules.d/90mgalive/mgalive-shutdown.sh index ae927c2..afb3f9a 100644 --- a/modules.d/90mgalive/mgalive-shutdown.sh +++ b/modules.d/90mgalive/mgalive-shutdown.sh @@ -3,9 +3,9 @@ clear basedev=$(cat /run/mgalive/basedev) if strstr "$basedev" "/dev/sr" ; then eject $basedev + echo "It is now safe to remove the Live medium" + echo "Press to continue..." + read -t 30 a fi -echo "It is now safe to remove the Live medium" -echo "Press to continue..." -read -t 30 a return 0 -- cgit v1.2.1