[readonly/geninitrd: 434/1068] - cosmetics

draenog draenog at pld-linux.org
Sat Nov 2 19:48:51 CET 2013


commit 9e1ceabecd2475d1d3df0f4b5c891dfb7b997210
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Oct 5 22:51:07 2007 +0000

    - cosmetics
    
    svn-id: @8792

 geninitrd | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 67a9bd7..05d5819 100755
--- a/geninitrd
+++ b/geninitrd
@@ -4,13 +4,12 @@
 #
 #	by PLD Linux Team
 #
-# based on mkinitrd from RedHat
+# based on mkinitrd from RedHat Linux
 #
 # TODO:
 # - make udev start before insomds
 # - make proper use of USE_UDEV - don't copy fules if USE_UDEV is off no!
 # - sanitize - one mounting of /proc and /sys at the begining and one umount at the end!
-# - chekup and test and ready to go!
 #
 
 RCSID='$Id$'
@@ -147,7 +146,7 @@ find_depmod () {
 	depfile=/lib/modules/$kernel/modules.dep
 
 	if [ ! -f $depfile ]; then
-		die "No $depfile! Run depmod and rerun geninitrd."
+		die "No $depfile! Run depmod and rerun $PROGRAM."
 	fi
 
 	# prepend / if no path given, append $modext.gz if not given,
@@ -545,7 +544,7 @@ find_modules_for() {
 		fi
 		key="^# $(echo $1 | awk -F/ '{print($3);}' | tr '[a-z]' '[A-Z]'):"
 		if ! is_yes "`awk '/'$key'/ { print( "yes"); }' $fstab`" ; then
-			die "The root filesystem is on a $1, but there is no magic entry in $fstab for this device. Consult the geninitrd man page for more information"
+			die "The root filesystem is on a $1, but there is no magic entry in $fstab for this device. Consult the $PROGRAM man page for more information"
 		fi
 
 		line="`awk '/'$key'/ { print $0; }' $fstab`"
@@ -779,7 +778,7 @@ while [ $# -gt 0 ]; do
 		shift
 		;;
 	--version)
-		echo "geninitrd: version $VERSION"
+		echo "$PROGRAM: version $VERSION"
 		exit 0
 		;;
 	-v)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090



More information about the pld-cvs-commit mailing list