|
From: Friedrich L. <fr...@us...> - 2006-05-04 12:18:28
|
Update of /cvsroot/devil-linux/build/config/etc/initrd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5107/config/etc/initrd Modified Files: Tag: rel-1-2-patches linuxrc Log Message: get version number right Index: linuxrc =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/initrd/linuxrc,v retrieving revision 1.70.2.9 retrieving revision 1.70.2.10 diff -u -d -r1.70.2.9 -r1.70.2.10 --- linuxrc 3 May 2006 19:19:12 -0000 1.70.2.9 +++ linuxrc 4 May 2006 12:18:21 -0000 1.70.2.10 @@ -18,6 +18,9 @@ # include our color definitions . colordefs +# get version info +DL_VERSION=$(cat VERSION) + $RED echo echo "********************************************************************************" @@ -28,6 +31,7 @@ echo " http://www.devil-linux.org/ " echo $NORMAL +echo -n "Version "; $YELLOW; echo ${DL_VERSION}; $NORMAL beep() { # $1 = optional, number of times to beep (default=1) @@ -170,15 +174,13 @@ # make sure all kernel warnings get lost (seriously!) klogd -c 1 -# get version info -DLVERSION=$(cat VERSION) - # mount proc mount -n -t proc none /proc # mount usb mount -n -t usbdevfs none /proc/bus/usb +# print our current running kernel version echo Kernel $(uname -r) # mount shared memory filesystem with the default limit of ram-memory/2 |