summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hooks/net8
-rw-r--r--install/net12
2 files changed, 9 insertions, 11 deletions
diff --git a/hooks/net b/hooks/net
deleted file mode 100644
index f3a9de2..0000000
--- a/hooks/net
+++ /dev/null
@@ -1,8 +0,0 @@
-# vim: set ft=sh:
-run_hook ()
-{
- msg -n ":: Loading net..."
- ipconfig ${ip}
- nfsmount ${nfsroot} /root
- msg "done."
-}
diff --git a/install/net b/install/net
index 89d7ab6..b8b2af7 100644
--- a/install/net
+++ b/install/net
@@ -6,7 +6,7 @@ install ()
BINARIES=""
FILES=""
- SCRIPT="net"
+ SCRIPT=""
}
help ()
@@ -66,15 +66,16 @@ cat<<HELPEOF
Examples:
ip=127.0.0.1:::::lo:none --> Enable the loopback interface.
ip=192.168.1.1:::::eth2:none --> Enable static eth2 interface.
+ ip=:::::eth0:dhcp --> Enable dhcp protcol for eth0 configuration.
nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
- If the `nfsroot' parameter is NOT given on the command line, the default
+ If the 'nfsroot' parameter is NOT given on the command line, the default
"/tftpboot/%s" will be used.
<server-ip> Specifies the IP address of the NFS server. If this field
is not given, the default address as determined by the
- `ip' variable (see below) is used. One use of this
+ 'ip' variable (see below) is used. One use of this
parameter is for example to allow using different servers
for RARP and NFS. Usually you can leave this blank.
@@ -96,5 +97,10 @@ cat<<HELPEOF
acdirmin = 30
acdirmax = 60
flags = hard, nointr, noposix, cto, ac
+
+ root=/dev/nfs
+
+ If you don't use nfsroot= parameter you need to set root=/dev/nfs
+ to boot from a nfs root by autoconfiguration.
HELPEOF
}