summaryrefslogtreecommitdiffstats
path: root/initrd/mkdxsinitrd
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-01-20 11:31:01 +0100
committerDirk von Suchodoletz2006-01-20 11:31:01 +0100
commit4fca608b84d4bc1c5abe78cb5956ff17c924e2c2 (patch)
tree360f037abe32d54e3a64f9456c922c7b4ded58a1 /initrd/mkdxsinitrd
parentAbstimmung der Debuglevel (siehe auch /trac Wiki) (diff)
downloadcore-4fca608b84d4bc1c5abe78cb5956ff17c924e2c2.tar.gz
core-4fca608b84d4bc1c5abe78cb5956ff17c924e2c2.tar.xz
core-4fca608b84d4bc1c5abe78cb5956ff17c924e2c2.zip
Boot.ld als erstes Runlevelskript (per distro-spez. Funktion).
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@27 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/mkdxsinitrd')
-rwxr-xr-xinitrd/mkdxsinitrd16
1 files changed, 8 insertions, 8 deletions
diff --git a/initrd/mkdxsinitrd b/initrd/mkdxsinitrd
index 0ab53431..9bec513b 100755
--- a/initrd/mkdxsinitrd
+++ b/initrd/mkdxsinitrd
@@ -183,9 +183,9 @@ while getopts :hgk:i:r:o:s:f:n:Sut:d:I:V:a: a ; do
;;
i) echo "-i requires initrd path parameter"
;;
- f) echo "-m requires file system module list parameter"
+ f) echo "-f requires file system module list parameter"
;;
- n) echo "-m requires network module list parameter"
+ n) echo "-n requires network module list parameter"
;;
r) echo "-r requires root dir parameter"
;;
@@ -273,15 +273,15 @@ fi
if [ -z $DISTRO ] ; then
if [ -e ${ROOTDIR}/etc/SuSE-release ] ; then
- DISTRO = suse
- DISTRO_VER = grep "VERSION" /etc/SuSE-release | sed "s/.*= //"
+ DISTRO=suse
+ DISTRO_VER=`grep "VERSION" /etc/SuSE-release | sed "s/.*= //"`
fi
fi
if [ -z $DISTRO ] ; then
if [ -e ${ROOTDIR}/etc/debian-version ] ; then
- DISTRO = debian
- DISTRO_VER = `cat ${ROOTDIR}/etc/debian-version`
+ DISTRO=debian
+ DISTRO_VER=`cat ${ROOTDIR}/etc/debian-version`
fi
fi
@@ -393,10 +393,10 @@ done
# add kernel modules and dependency files
if [ -z $KERNVER ] ; then
- KERNVER = `ls -l ${ROOTDIR}/boot/vmlinuz | grep vmlinuz | sed "s/.*vmlinuz-//"`
+ KERNVER=`ls -l ${ROOTDIR}/boot/vmlinuz | grep vmlinuz | sed "s/.*vmlinuz-//"`
fi
if [ -z $KERNVER ] ; then
- KERNVER = `ls -l ${ROOTDIR}/vmlinuz | grep vmlinuz | sed "s/.*vmlinuz-//"`
+ KERNVER=`ls -l ${ROOTDIR}/vmlinuz | grep vmlinuz | sed "s/.*vmlinuz-//"`
fi
#KERNVER=2.6.12-10-386