summaryrefslogtreecommitdiffstats
path: root/initrd/initrd-stuff/bin/hwautocfg
diff options
context:
space:
mode:
authorNico Dietrich2006-01-19 20:44:11 +0100
committerNico Dietrich2006-01-19 20:44:11 +0100
commite6d00779a1815a9d094f97743c3cc87db187c7f3 (patch)
tree461841e23b11d2651f49f62fe6fcb7b7690a53ef /initrd/initrd-stuff/bin/hwautocfg
parentFehler beim Startskriptlinking und dhcp-client behoben (diff)
downloadcore-e6d00779a1815a9d094f97743c3cc87db187c7f3.tar.gz
core-e6d00779a1815a9d094f97743c3cc87db187c7f3.tar.xz
core-e6d00779a1815a9d094f97743c3cc87db187c7f3.zip
systematisches ersetzen der distro-variablen-namen
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@22 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/bin/hwautocfg')
-rwxr-xr-xinitrd/initrd-stuff/bin/hwautocfg16
1 files changed, 8 insertions, 8 deletions
diff --git a/initrd/initrd-stuff/bin/hwautocfg b/initrd/initrd-stuff/bin/hwautocfg
index 7d098d45..8afbb74e 100755
--- a/initrd/initrd-stuff/bin/hwautocfg
+++ b/initrd/initrd-stuff/bin/hwautocfg
@@ -167,7 +167,7 @@ for section in Files ServerFlags Module InputDevice Monitor \
# check for 64bit CPU/installation (fixme!!)
[ -n "$amd64" ] && \
echo '"\tModulePath\t"/usr/X11R6/lib64/modules"\n' >>$xfc
- for i in ${XFONTPATH} ; do
+ for i in ${D_XFONTPATH} ; do
echo -e "\tFontPath\t\"$i/\"" >>$xfc ; done
;;
ServerFlags)
@@ -259,11 +259,11 @@ fi
. /etc/distro-functions
# set X11 configuration file
-if [ -n "${XF86CONFFILE}" ] ; then
- XF86CONFFILE="/mnt/${XF86CONFFILE}"
+if [ -n "${D_XF86CONFFILE}" ] ; then
+ D_XF86CONFFILE="/mnt/${D_XF86CONFFILE}"
else
- XF86CONFFILE="/mnt/etc/X11/xorg.conf"
- error " You should define the variable XF86CONFFILE in yours distro \
+ D_XF86CONFFILE="/mnt/etc/X11/xorg.conf"
+ error " You should define the variable D_XF86CONFFILE in yours distro \
configuration\n file" nonfatal
fi
@@ -376,13 +376,13 @@ if [ -z "${KEYTABLE}" ] ; then
KEYTABLE=${DEFKEYTABLE}
fi
echo -e "# entry added by $0: $date" \
- >>/mnt/etc/${INITDIR}/boot.ld
-echo -e "loadkeys -q ${KEYTABLE}\n" >>/mnt/etc/${INITDIR}/boot.ld
+ >>/mnt/etc/${D_INITDIR}/boot.ld
+echo -e "loadkeys -q ${KEYTABLE}\n" >>/mnt/etc/${D_INITDIR}/boot.ld
[ -n "${CONSOLE_FONT}" ] && consolefont
# run X11 / Xorg configurator
. /etc/sysconfig/xserver >/dev/null 2>&1 || error " The xserver \
configuration file generated by hwsetup could not\n be found." nonfatal
-displaysetup ${XF86CONFFILE}
+displaysetup ${D_XF86CONFFILE}
echo "finished" > /tmp/hwcfg