[arch-commits] Commit in udev/trunk (load-modules.sh)
Thomas Bächler
thomas at archlinux.org
Sat Feb 13 22:35:18 UTC 2010
Date: Saturday, February 13, 2010 @ 17:35:17
Author: thomas
Revision: 68710
Fix logging in load-modules.sh, move some messages to debug. See FS#13852
Modified:
udev/trunk/load-modules.sh
-----------------+
load-modules.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: load-modules.sh
===================================================================
--- load-modules.sh 2010-02-13 22:34:53 UTC (rev 68709)
+++ load-modules.sh 2010-02-13 22:35:17 UTC (rev 68710)
@@ -46,7 +46,7 @@
# If no modules could be found, try if the alias name is a module name
# In that case, omit the --use-blacklist parameter to imitate normal modprobe behaviour
[ -z "${mods}" ] && $MODPROBE -qni $1 && mods="$1" && USEBLACKLIST=""
- [ -z "${mods}" ] && $LOGGER -p info -t "$(basename $0)" "'$1' is not a valid module or alias name"
+ [ -z "${mods}" ] && $LOGGER -p local0.debug -t "$(basename $0)" "'$1' is not a valid module or alias name"
for mod in ${mods}; do
# Find the module and all its dependencies
deps="$($MODPROBE -i --show-depends ${mod})"
@@ -61,9 +61,9 @@
for dep in $deps; do
if echo "${BLACKLIST}" | /bin/grep -q -e " ${dep} " -e "^${dep} " -e " ${dep}\$"; then
if [ "${dep}" = "${mod}" ]; then
- $LOGGER -p info -t "$(basename $0)" "Not loading module '${mod}' for alias '$1' because it is blacklisted"
+ $LOGGER -p local0.info -t "$(basename $0)" "Not loading module '${mod}' for alias '$1' because it is blacklisted"
else
- $LOGGER -p info -t "$(basename $0)" "Not loading module '${mod}' for alias '$1' because its dependency '${dep}' is blacklisted"
+ $LOGGER -p local0.info -t "$(basename $0)" "Not loading module '${mod}' for alias '$1' because its dependency '${dep}' is blacklisted"
fi
continue 2
fi
More information about the arch-commits
mailing list