chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80f7d89
)
firmware: remove hardcoded path to logger
author
Matthias Schwarzott
<zzam@gentoo.org>
Mon, 15 Oct 2007 22:50:48 +0000
(
00:50
+0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Mon, 15 Oct 2007 22:50:48 +0000
(
00:50
+0200)
extras/firmware/firmware.sh
patch
|
blob
|
history
diff --git
a/extras/firmware/firmware.sh
b/extras/firmware/firmware.sh
index 89b985ef3b59042b0e839b933f6edffd855fd158..49845bad0f13e1766cb3b69589ef2c911721568a 100755
(executable)
--- a/
extras/firmware/firmware.sh
+++ b/
extras/firmware/firmware.sh
@@
-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
}