From 86b2d8ed29e5a8eb3a2da0b4bb4dd14dc38daedf Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Wed, 17 Apr 2013 16:08:21 +0200 Subject: [PATCH] backports: update-initramfs: change/reformat message Change the "severity" of the message, it doesn't have to be prefixed with "Warning:" since for many modules it'll work without updating initramfs. Also reformat it so it's aligned more nicely. Signed-off-by: Johannes Berg --- backport/scripts/update-initramfs.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backport/scripts/update-initramfs.sh b/backport/scripts/update-initramfs.sh index dcc1dc378395..e0d7702d5c67 100755 --- a/backport/scripts/update-initramfs.sh +++ b/backport/scripts/update-initramfs.sh @@ -51,12 +51,12 @@ case $LSB_RED_ID in fi ;; *) - echo "Warning:" + echo "Note:" echo "You may or may not need to update your initramfs, you should if" echo "any of the modules installed are part of your initramfs. To add" echo "support for your distribution to do this automatically send a" - echo "patch against $0. If your distribution does not require this" - echo "send a patch against the '/usr/bin/lsb_release -i -s': $LSB_RED_ID" - echo "tag for your distribution to avoid this warning." + echo "patch against \"$(basename $0)\". If your distribution does not" + echo "require this send a patch with the '/usr/bin/lsb_release -i -s'" + echo "($LSB_RED_ID) tag for your distribution to avoid this warning." ;; esac -- 2.30.2