netroot: Add ip= cmdline checker
authorPhilippe Seewer <philippe.seewer@bfh.ch>
Tue, 16 Jun 2009 17:14:51 +0000 (19:14 +0200)
committerPhilippe Seewer <philippe.seewer@bfh.ch>
Wed, 17 Jun 2009 06:37:40 +0000 (08:37 +0200)
commit1b31fc140baef770d498776bdebf9226f178b0dd
treec2a3e947f232b6c0a0af0c4225cff921f7fb6c55
parent50e7ff76de1b9179565f011cd44ea669311e132d
netroot: Add ip= cmdline checker

As with other netroot boot arguments ip= lines should be parsed and
checked. Having this has the advantage that other cmdline scripts
can tell the ip= parser if dhcp or ip=:srv:... is needed, like
parse-root.sh (renamed dhcp-fallback) or parse-nfsroot do.

The nfs test-suite has one check which uses static ip lines, but
the autoconf param is wrong. Fixed this as well.
modules.d/40network/dhcp-fallback.sh [deleted file]
modules.d/40network/dhcp-root.sh [new file with mode: 0755]
modules.d/40network/install
modules.d/40network/parse-ip-opts.sh [new file with mode: 0755]
modules.d/95nfs/parse-nfsroot.sh
test/TEST-20-NFS/test.sh