]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
Nicer warnings.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 4 Apr 2005 16:29:17 +0000 (16:29 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 4 Apr 2005 16:29:17 +0000 (16:29 +0000)
svn-id: @5716

geninitrd

index 8225f1347c7e10ca8855c658f2a2df185b2b489f..241aa95e7d48b540fbfb2977804e21ab16af9e49 100755 (executable)
--- 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
This page took 0.034788 seconds and 4 git commands to generate.