Configuration of 30MHz on 16 gon full duplex
[debian6500.git] / master / etc / initramfs-tools / scripts / tftp
index 4e6caa0a850d67ab9fcbaa2c99da79f1c429edd2..4877c9cd31b69d4219dcafea8b29120a249d837a 100644 (file)
@@ -2,10 +2,9 @@
 
 mountroot ()
 {
-
     # configure ethernet
     ipconfig -c dhcp eth0
-    ipconfig -c dhcp eth1
+    ipconfig -t 90 -c dhcp eth1
 
     mount -t ramfs /dev/ram0 ${rootmnt}
 
@@ -13,10 +12,10 @@ mountroot ()
     for f in $(echo ${tarballs} | sed 's/,/ /g'); do
         log_begin_msg "download $f"
         tftp -b 32764 -g -r $f ${tftpserver}
-       log_begin_msg "Extract $f into ${rootmnt}"
-       log_end_msg
-       tar xzf $f -C ${rootmnt} || exec /bin/sh
-       rm -f $f
+        log_begin_msg "Extract $f into ${rootmnt}"
+        log_end_msg
+        tar xzf $f -C ${rootmnt} || exec /bin/sh
+        rm -f $f
     done
 
     # remove files predeced by tilde