/etc/init.d/grml-reboot: small message formating improvement
authorMichael Prokop <mika@grml.org>
Wed, 19 Aug 2009 07:55:00 +0000 (09:55 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 19 Aug 2009 07:55:00 +0000 (09:55 +0200)
debian/changelog
etc/init.d/grml-reboot

index ff14096..b3116b9 100644 (file)
@@ -1,3 +1,10 @@
+grml-etc (1.1.20) unstable; urgency=low
+
+  * /etc/init.d/grml-reboot: small message formating improvement
+    if displaying message for USB device.
+
+ -- Michael Prokop <mika@grml.org>  Wed, 19 Aug 2009 09:52:40 +0200
+
 grml-etc (1.1.19) unstable; urgency=low
 
   * Use x-window-manager as default window manager in xinitrc.
index c5e737c..637630b 100755 (executable)
@@ -55,7 +55,7 @@ if ! $INSTALLED ; then
        [ "$(cat /sys/block/${DEVICE}/removable 2>/dev/null)" = "1" ] && REMOVABLE=true
        # is it a usb device?
        readlink /sys/block/${DEVICE} 2>/dev/null | grep -q '/usb' && USB_DEVICE=true
-       $USB_DEVICE && USB_INFO="$(cat /sys/block/${DEVICE}/device/model 2>/dev/null)"
+       $USB_DEVICE && USB_INFO=" ($(cat /sys/block/${DEVICE}/device/model 2>/dev/null))"
      fi
    fi
 fi