From 4f347c30acec4633e590a7c0c36c60f0b89c68cc Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 19 Aug 2009 09:55:00 +0200 Subject: [PATCH] /etc/init.d/grml-reboot: small message formating improvement --- debian/changelog | 7 +++++++ etc/init.d/grml-reboot | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ff14096..b3116b9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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. diff --git a/etc/init.d/grml-reboot b/etc/init.d/grml-reboot index c5e737c..637630b 100755 --- a/etc/init.d/grml-reboot +++ b/etc/init.d/grml-reboot @@ -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 -- 2.1.4