|
From: Friedrich L. <fr...@us...> - 2006-05-04 12:37:10
|
Update of /cvsroot/devil-linux/build/config/etc/initrd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14572/config/etc/initrd Modified Files: linuxrc Log Message: forward port changes from 1.2 to 1.3 Index: linuxrc =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/initrd/linuxrc,v retrieving revision 1.87 retrieving revision 1.88 diff -u -d -r1.87 -r1.88 --- linuxrc 3 May 2006 19:44:58 -0000 1.87 +++ linuxrc 4 May 2006 12:37:02 -0000 1.88 @@ -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,20 +174,17 @@ # make sure all kernel warnings get lost (seriously!) klogd -c 1 -# get version info -DLVERSION=$(cat VERSION) - -echo "Mounting required file systems" - # mount proc mount -n -t proc none /proc -# mount proc +# mount sysfs mount -n -t sysfs none /sys +# print our current running kernel version echo Kernel $(uname -r) # mount shared memory filesystem with the default limit of ram-memory/2 +echo "Mounting SHM FS on /shm" mount -n -t shm shmfs /shm 2> /dev/null || mount -n -t tmpfs none /shm # get rid of modprobe warnings |