blob: d587fb02a1c5106ba7d4dd53c0e170a2a3f37563 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/sh
basedev=$(cat /run/mgalive/basedev)
if strstr "$basedev" "/dev/sr" ; then
exec < /dev/tty0 > /dev/tty0
eject $basedev
clear
echo "It is now safe to remove the Live medium"
echo "Press <Enter> to continue..."
read -t 30 a
fi
return 0
|