[readonly/geninitrd/devel: 220/334] In most cases broken fstab causes problems - enhance error message for find_modules_for() parameters
draenog
draenog at pld-linux.org
Sat Nov 2 19:30:01 CET 2013
commit 0f8c08be149b30c1e7f9fae83f48c321a87200c2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Jun 26 21:04:54 2004 +0000
In most cases broken fstab causes problems - enhance error message for find_modules_for() parameters checking.
svn-id: @4248
geninitrd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/geninitrd b/geninitrd
index b16ec15..f41a0c5 100755
--- a/geninitrd
+++ b/geninitrd
@@ -541,7 +541,7 @@ END {
find_modules_for() {
if [ -z "$1" ]; then
- echo "ERROR: no argument passed to find_modules_for()" >&2
+ echo "ERROR: no argument passed to find_modules_for() - is your /etc/fstab correct?" >&2
exit
elif is_yes "`echo "$1" | awk '/^([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+:|\/dev\/nfs)/ { print "yes"; }'`"; then
if [ ! -x /usr/bin/pcidev -a -z "$NFS_ETH_MODULES" ] ; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11
More information about the pld-cvs-commit
mailing list