summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff
diff options
context:
space:
mode:
authorOliver Tappe2007-04-05 14:28:51 +0200
committerOliver Tappe2007-04-05 14:28:51 +0200
commitca73187f042e904f764d715707f2a3e19afedf58 (patch)
tree0cf1ab40fdf6ec102261596a5f146e09680cbfc2 /initramfs/initrd-stuff
parentFix for preparation of /etc/hosts file (if more than one domain name (diff)
downloadcore-ca73187f042e904f764d715707f2a3e19afedf58.tar.gz
core-ca73187f042e904f764d715707f2a3e19afedf58.tar.xz
core-ca73187f042e904f764d715707f2a3e19afedf58.zip
* renamed '/etc/sysconfig/slxconfig' to '/etc/sysconfig/slxsystem.conf' in order to
avoid confusions between this file and the 'slxconfig'-script. * changed slxconfig-demuxer to automatically add the current OpenSLX-version into slxsystem.conf (via slxversion). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@865 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff')
-rwxr-xr-xinitramfs/initrd-stuff/bin/servconfig6
-rwxr-xr-xinitramfs/initrd-stuff/init14
2 files changed, 10 insertions, 10 deletions
diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig
index ed1a209f..70ab7c48 100755
--- a/initramfs/initrd-stuff/bin/servconfig
+++ b/initramfs/initrd-stuff/bin/servconfig
@@ -24,7 +24,7 @@
# specific functions may overwrite functions defined in /etc/functions
. /etc/sysconfig/config
. /etc/distro-functions
-. /etc/sysconfig/slxconfig
+. /etc/sysconfig/slxsystem.conf
# get location of logfile definition
. /mnt/etc/${D_SYSCONFDIR}/logfile
@@ -92,7 +92,7 @@ if [ -z "$country" ] ; then
fi
localization "${country}"
if [ -z "${KEYTABLE}" ] ; then
- error "$hcfg_keyb" nonfatal
+ error "$hcfg_keyb" nonfatal
KEYTABLE=${DEFKEYTABLE}
fi
echo -e "\t# entries added by $0: $date" >> /mnt/etc/${D_INITDIR}/boot.slx
@@ -122,7 +122,7 @@ if [ "x$vmware" != "x" ] && [ "x$vmware" != "xno" ] ; then
*nbd)
;;
*)
- # we expect nfs mounts here ...
+ # we expect nfs mounts here ...
nfsmnt ${vmimgserv}:${vmimgpath} /mnt/var/lib/vmware || {
error "${scfg_nfs}" nonfatal; noimg=yes; }
;;
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index d68d18a8..023682a5 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -17,15 +17,15 @@
# functions common for all distros, messages contains all error and info
# output (for some reason the error output is not produced properly - crash)
-# how do the localization here? There is not yet a country-Variable
+# how do the localization here? There is not yet a country-Variable
. /etc/messages
. /etc/functions || ( echo -e $init_mff && sleep 100 )
. /etc/distro-functions || ( echo -e $init_dff && sleep 100 )
# distro specific configuration settings (several file and directory
# variables)
. /etc/sysconfig/config || ( echo -e $init_dscf && sleep 100 )
-# configuration settings for slx environment
-. /etc/sysconfig/slxconfig 2>/dev/null || ( echo -e ${init_sscf} && \
+# configuration settings for this slx system's environment
+. /etc/sysconfig/slxsystem.conf 2>/dev/null || ( echo -e ${init_sscf} && \
sleep 100 )
# machine-setup configuration (common settings for all clients using a
# certain InitRamFS generated by slxmkramfs/mkdxsinitrd)
@@ -408,7 +408,7 @@ if [ -n "${nbdmod}" ] ; then
[ $DEBUGLEVEL -eq 20 ] && echo "** finished nw blockdev stuff at $(sysup)"
elif [ -n ${iscsiserver} ] ; then
[ $DEBUGLEVEL -eq 20 ] && echo "** started setting up iSCSI initiator at \
-$(sysup)"
+$(sysup)"
#if [ -n ${iscsitarget} ] ; then
# echo "InitiatorName=${iscsitarget}"|sed "s,@@@serverip@@@,$serverip," \
# >/etc/initiatorname.iscsi
@@ -441,7 +441,7 @@ fi
# get the complete collection of kernel modules available
mount -n --bind /mnt/lib/modules/${KERNEL} /lib/modules/${KERNEL} || \
error "$init_moddir"
-# start hardware configuration as background process if not a special
+# start hardware configuration as background process if not a special
# debuglevel (21) is used for the option of manual hwautocfg start
if [ ${DEBUGLEVEL} = 21 ] ; then
echo "You can run 'hwautocfg main &' manually now ..."
@@ -500,7 +500,7 @@ elif [ -z "${cowloop}" ] ; then
# see above ...
ldcfg
# save the RO directories mentioned in the distro-specific
- # config to a temporary directory. They will lateron be restored
+ # config to a temporary directory. They will lateron be restored
for path in ${D_RODIRSINRW}; do
if [ -d /mnt/${path} ] ; then
list=${path}" "${list}
@@ -555,7 +555,7 @@ if [ ${DEBUGLEVEL} = 22 ] ; then
else
servconfig &
fi
-
+
for path in @@@COMDIRINDXS@@@ ${D_DIRINDXS} ${D_DIRINBINDMNT} ; do
testmkd /mnt/${path}
done