summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-08-23 09:22:54 +0200
committermaximilian attems <maks@debian.org>2006-08-23 09:22:54 +0200
commitfabe918dee7da26d177d67d4aa8fe3fd6e83e513 (patch)
tree5dee066c10e912f5328dba7de3032cd6058019dc /init
parentd1d6763409a1260708423e0092d7bc4182275773 (diff)
downloadinitramfs-tools-fabe918dee7da26d177d67d4aa8fe3fd6e83e513.tar.gz
initramfs-tools-fabe918dee7da26d177d67d4aa8fe3fd6e83e513.zip
- improved nfsroo parsing
- added rootdelay and rootfstype bootargs - document this changes - initrd-tools backward compatible mdadm assembe and then run mdrun - update-initramfs really checkout use_bootloader from /etc/kernel-img.conf - tighter klibc deps
Diffstat (limited to 'init')
-rwxr-xr-xinit13
1 files changed, 11 insertions, 2 deletions
diff --git a/init b/init
index ab679b5..386ec37 100755
--- a/init
+++ b/init
@@ -59,19 +59,28 @@ for x in $(cat /proc/cmdline); do
UUID=*)
ROOT="/dev/disk/by-uuid/${ROOT#UUID=}"
;;
+ /dev/nfs)
+ BOOT=nfs
+ ;;
esac
;;
rootflags=*)
ROOTFLAGS="-o ${x#rootflags=}"
;;
+ rootfstype=*)
+ ROOTFSTYPE="${x#rootfstype=}"
+ ;;
+ rootdelay=*)
+ ROOTDELAY="${x#rootdelay=}"
+ ;;
cryptopts=*)
cryptopts="${x#cryptopts=}"
;;
nfsroot=*)
NFSROOT="${x#nfsroot=}"
;;
- nfsopts=*)
- NFSOPTS="-o ${x#nfsopts=}"
+ ip=*)
+ IPOPTS="${x#ip=}"
;;
boot=*)
BOOT=${x#boot=}