Display "Mounted live system on ..." during bootup
authorMichael Prokop <mika@grml.org>
Fri, 14 Nov 2008 23:54:24 +0000 (00:54 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 14 Nov 2008 23:54:24 +0000 (00:54 +0100)
debian/changelog
grml/05mountpoints

index b1a4c35..0e5c4a3 100644 (file)
@@ -4,8 +4,9 @@ live-initramfs (1.139.1-4grml.01) unstable; urgency=low
 
   [ Michael Prokop ]
   * Ignore errors from fstype.
+  * Display "Mounted live system on ..." during bootup.
 
- -- Michael Prokop <mika@grml.org>  Sat, 15 Nov 2008 00:13:50 +0100
+ -- Michael Prokop <mika@grml.org>  Sat, 15 Nov 2008 00:54:10 +0100
 
 live-initramfs (1.139.1-2grml.01) unstable; urgency=low
 
index a8717d7..06058ce 100755 (executable)
@@ -33,4 +33,9 @@ then
        mount -n --move /live/image /root/live/image
 fi
 
+MOUNTED_ON=$(grep /live/image /proc/mounts 2>/dev/null | cut -f 1 -d " ")
+if [ -n "$MOUNTED_ON" ] ; then
+   echo "-> Mounted live system on $MOUNTED_ON">/dev/console
+fi
+
 log_end_msg