diff options
author | Dirk von Suchodoletz | 2006-12-17 19:55:55 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-12-17 19:55:55 +0100 |
commit | c392fef97b564badfd0e4d7e9181768034211d15 (patch) | |
tree | c0273d60ee852f618dba5a8c8024264bea97507f /initramfs/mkdxsinitrd | |
parent | Move settings.local to settings.local.example. (diff) | |
download | core-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-x | initramfs/mkdxsinitrd | 9 |
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 |