diff options
author | Tobias Powalowski <tpowa@archlinux.org> | 2006-05-16 10:53:16 +0200 |
---|---|---|
committer | Tobias Powalowski <tpowa@archlinux.org> | 2006-05-16 10:53:16 +0200 |
commit | e762c20c332a3883db516dd01d31ffbd75de2ca9 (patch) | |
tree | 91ed07aad2cd6d29ee2d182593f0dc9729de9c98 | |
parent | e266d309b8f8583c823eb894f91d0cfa4fe28092 (diff) | |
download | mkinitcpio-e762c20c332a3883db516dd01d31ffbd75de2ca9.tar.gz mkinitcpio-e762c20c332a3883db516dd01d31ffbd75de2ca9.tar.xz |
'fixed net install file added new tarball'
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@100 880c04e9-e011-0410-abf7-b926e227c9cd
-rw-r--r-- | hooks/net | 8 | ||||
-rw-r--r-- | install/net | 12 |
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 } |