firmware: remove hardcoded path to logger

This commit is contained in:
Matthias Schwarzott
2007-10-16 00:50:48 +02:00
committed by Kay Sievers
parent 80f7d89ac4
commit dab3fe36cf
+2 -2
View File
@@ -4,8 +4,8 @@ FIRMWARE_DIRS="/lib/firmware /usr/local/lib/firmware"
err() {
echo "$@" >&2
if [ -x /bin/logger ]; then
/bin/logger -t "${0##*/}[$$]" "$@"
if type logger >/dev/null; then
logger -t "${0##*/}[$$]" "$@"
fi
}