[readonly/geninitrd/devel: 249/334] Nicer warnings.
draenog
draenog at pld-linux.org
Sat Nov 2 19:32:28 CET 2013
commit 9e8defd16d8544f48458f955b4cbad4f66a29255
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Apr 4 16:29:17 2005 +0000
Nicer warnings.
svn-id: @5716
geninitrd | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 8225f13..241aa95 100755
--- a/geninitrd
+++ b/geninitrd
@@ -526,9 +526,8 @@ END {
findmodule "-$nd"
done
else
- echo -n "WARNING: "
- [ -r /usr/share/pci-database/ide.pci ] || echo -n "/usr/share/pci-database/ide.pci missing."
- [ -r /proc/bus/pci/devices ] || echo -n "/proc/bus/pci/devices missing."
+ [ -r /usr/share/pci-database/ide.pci ] || echo "WARNING: /usr/share/pci-database/ide.pci missing."
+ [ -r /proc/bus/pci/devices ] || echo "WARNING: /proc/bus/pci/devices missing."
echo "Automatic IDE modules finding not available."
fi
fi
@@ -909,7 +908,7 @@ if [ ! -d "/lib/modules/$kernel" ]; then
fi
if [ ! -f /proc/mounts ]; then
- echo "/proc filesystem not mounted, may cause wrong results or failure." 1>&2
+ echo "WARNING: /proc filesystem not mounted, may cause wrong results or failure." 1>&2
fi
if [ "$pack_version" -lt "002005" ]; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11
More information about the pld-cvs-commit
mailing list