From: Johannes Berg Date: Wed, 17 Apr 2013 14:08:21 +0000 (+0200) Subject: backports: update-initramfs: change/reformat message X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=86b2d8ed29e5a8eb3a2da0b4bb4dd14dc38daedf;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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