From e762c20c332a3883db516dd01d31ffbd75de2ca9 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 16 May 2006 08:53:16 +0000 Subject: 'fixed net install file added new tarball' git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@100 880c04e9-e011-0410-abf7-b926e227c9cd --- hooks/net | 8 -------- install/net | 12 +++++++++--- 2 files changed, 9 insertions(+), 11 deletions(-) delete mode 100644 hooks/net 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< 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=[:][,] - 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. 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<