SVN: geninitrd/trunk/geninitrd
glen
glen at pld-linux.org
Sat Oct 6 00:51:07 CEST 2007
Author: glen
Date: Sat Oct 6 00:51:07 2007
New Revision: 8792
Modified:
geninitrd/trunk/geninitrd
Log:
- cosmetics
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Sat Oct 6 00:51:07 2007
@@ -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 @@
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 @@
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 @@
shift
;;
--version)
- echo "geninitrd: version $VERSION"
+ echo "$PROGRAM: version $VERSION"
exit 0
;;
-v)
More information about the pld-cvs-commit
mailing list