Remove hardcoded path to logger
Hi there!
This patch removes the hardcoded path to logger from firmware.sh
At least gentoo installs logger to /usr/bin
Matthias
Signature · 1 line
Matthias Schwarzott (zzam)
extras/firmware/firmware.sh +2 -2
@@ -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 }
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Matthias Schwarzott
Hi there!
This patch removes the hardcoded path to logger from
firmware.shAt least gentoo installs logger to
/usr/binMatthias
+1
Fedora / Red Hat also has logger in /usr/bin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 5 lines · Harald Hoyer
Quoted 4 lines · Matthias Schwarzott
Hi there!
This patch removes the hardcoded path to logger from
firmware.sh
Quoted 7 lines
Quoted 3 lines
At least gentoo installs logger to
/usr/binMatthias
+1
Fedora / Red Hat also has logger in
/usr/bin
Slackware also.
-RW
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Kay Sievers
AppliedQuoted 3 lines · Matthias Schwarzott
This patch removes the hardcoded path to logger from
firmware.shAt least gentoo installs logger to
/usr/bin
Applied.
Thanks,
Kay
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel