summaryrefslogtreecommitdiffstats
path: root/initramfs/mkdxsinitrd
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-12-17 19:55:55 +0100
committerDirk von Suchodoletz2006-12-17 19:55:55 +0100
commitc392fef97b564badfd0e4d7e9181768034211d15 (patch)
treec0273d60ee852f618dba5a8c8024264bea97507f /initramfs/mkdxsinitrd
parentMove settings.local to settings.local.example. (diff)
downloadcore-c392fef97b564badfd0e4d7e9181768034211d15.tar.gz
core-c392fef97b564badfd0e4d7e9181768034211d15.tar.xz
core-c392fef97b564badfd0e4d7e9181768034211d15.zip
Improved "watchdog" for auto power off, if stage3 does not complete
after around two minutes. Removed klibc stuff (ipconfig, nfsmount) which was never really in use (klibc is deprecated and the busybox approach seems much more promising to keep the initramfs small and flexible). Little cleanups ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@564 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/mkdxsinitrd')
-rwxr-xr-xinitramfs/mkdxsinitrd9
1 files changed, 4 insertions, 5 deletions
diff --git a/initramfs/mkdxsinitrd b/initramfs/mkdxsinitrd
index 8aca056b..a55d6ef9 100755
--- a/initramfs/mkdxsinitrd
+++ b/initramfs/mkdxsinitrd
@@ -4,7 +4,7 @@
# ramdisks for linux diskless clients (stage2 system
# setup)
#
-# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 15-12-2006
+# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 17-12-2006
# Nico Dietrich
# Felix Endres
# <mj0@uni-freiburg.de> (xenbr), 12-12-2006
@@ -578,14 +578,13 @@ else
cobi ${bbins} bin &>/dev/null || \
echo "Program ${bbins} not found; could be most probably ignored"
done
+ # if nfs is used as clients root filesystem
+ cobi portmap bin
+ mkdir -p ${INSTDIR}/var/lib/nfs/state
fi
mkdir -p ${INSTDIR}/var/{lib,run}
-# if nfs is used as clients root filesystem
-cobi portmap bin
-mkdir -p ${INSTDIR}/var/lib/nfs/state
-
# if nbd or dnbd is used as clients root filesystem
if [ -n "${FSMODULES}" ] ; then
for i in ${FSMODULES}; do