Silence lsb_release output to avoid command not found errors
on distributions not having lsb_release like Fedora.
Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
# of their distribution. This can also help people who may
# want to wireless-boot their systems.
-LSB_RED_ID=$(/usr/bin/lsb_release -i -s)
+LSB_RED_ID=$(/usr/bin/lsb_release -i -s &> /dev/null)
KLIB=/lib/modules/$(uname -r)/build
ver=$(echo $KLIB | awk -F "/lib/modules/" '{print $2}' | awk -F"/" '{print $1}')