summaryrefslogtreecommitdiffstats
path: root/initrd/initrd-stuff/init
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/init
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/init')
-rwxr-xr-xinitrd/initrd-stuff/init16
1 files changed, 8 insertions, 8 deletions
diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init
index e6e957c7..4f983390 100755
--- a/initrd/initrd-stuff/init
+++ b/initrd/initrd-stuff/init
@@ -251,12 +251,12 @@ if [ -n "${UNIONFS}" ] ; then
else
echo -n "Using bind mounts to ramdisk for rw access"
mount -n -t tmpfs -o size=${TMPFSSIZE} ramfs ${RWDIR}
- for path in ${BINDMPTS} ; do
+ for path in ${D_BINDMPTS} ; do
mkdir -p ${RWDIR}/${path} >/dev/null 2>&1
mount -n --bind ${RWDIR}/${path} /mnt/${path}
done
[ -z "${NOLDSC}" ] && ldconfig /tmp/ld.so.cache &
- for path in ${RODIRSINRW}; do
+ for path in ${D_RODIRSINRW}; do
if [ -d /mnt/${path} ] ; then
LIST=${path}" "$LIST
# exclude them from etc copy process too
@@ -266,13 +266,13 @@ else
mount -n --bind /mnt/${path} /root/${path} >/dev/null 2>&1
fi
done
- for path in /etc/${SYSCONFDIR} ${DIRINBINDMNT} ${LIST}; do
+ for path in /etc/${D_SYSCONFDIR} ${D_DIRINBINDMNT} ${LIST}; do
mkdir -p ${RWDIR}/${path}
done
testmkd ${RWDIR}/var/tmp
chmod a+rwxt ${RWDIR}/var/tmp >/dev/null 2>&1
- echo -e "${DISETCEXCL} @@@COMETCEXCL@@@" >>/tmp/etc.exclude
+ echo -e "${D_ETCEXCL} @@@COMETCEXCL@@@" >>/tmp/etc.exclude
# if ld.so.cache is to be generated then do not copy the file
[ -z "${NOLDSC}" ] && echo -e "ld.so.cache*" >>/tmp/etc.exclude
# for tar exclude lists might be used, more difficult for cp
@@ -291,19 +291,19 @@ else
# run some specific stuff !?
fi
# script for stuff to execute during early bootup
-echo -e "#!/bin/sh\n# skeleton written from $0" >/mnt/etc/${INITDIR}/boot.ld
+echo -e "#!/bin/sh\n# skeleton written from $0" >/mnt/etc/${D_INITDIR}/boot.ld
echo "fs complete" >/tmp/fscmpl
# write debug file information after filesystem setup completed
-echo -e "# /etc${SYSCONFDIR}/logfile - file created by $0\n#\n# logfile for linux diskless client specific debugging output\nLOGFILE=\"$LOGFILE\"\n#\n# debug level\nDEBUGLEVEL=\"$DEBUGLEVEL\"" > /mnt/etc/${SYSCONFDIR}/logfile || \
- error "Unable to create the logfile configuration in /etc/${SYSCONFDIR}. \
+echo -e "# /etc${D_SYSCONFDIR}/logfile - file created by $0\n#\n# logfile for linux diskless client specific debugging output\nLOGFILE=\"$LOGFILE\"\n#\n# debug level\nDEBUGLEVEL=\"$DEBUGLEVEL\"" > /mnt/etc/${D_SYSCONFDIR}/logfile || \
+ error "Unable to create the logfile configuration in /etc/${D_SYSCONFDIR}. \
That\n might indicate some severe error."
# run distribution independent and dependent configuration of files and
# services
servconfig &
-for path in @@@COMDIRINDXS@@@ ${DISDIRINDXS} ${DIRINBINDMNT} ; do
+for path in @@@COMDIRINDXS@@@ ${D_DIRINDXS} ${D_DIRINBINDMNT} ; do
testmkd /mnt/${path}
done
for i in /var/run/utmp /var/log/wtmp /var/log/lastlog /etc/mtab ; do