Changeset 1770 in MondoRescue for branches/stable/mindi/rootfs/sbin/start-nfs
- Timestamp:
- Nov 6, 2007, 11:01:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/rootfs/sbin/start-nfs
r1312 r1770 35 35 done 36 36 37 if [ $ipdev = "" ] && [ $ipconf= "" ]; then37 if [ "$ipdev" = "" ] && [ "$ipconf" = "" ]; then 38 38 # No network configuration neither stored during archive 39 39 # nor on cmdline so no network wanted => exiting … … 49 49 if [ $? -eq 0 ]; then 50 50 ipdev=`echo $ipconf | cut -d: -f1` 51 echo"Making DHCP request on $ipdev"51 LogIt "Making DHCP request on $ipdev" 52 52 udhcpc -i $ipdev 53 53 else … … 59 59 ipgateway=`echo $ipconf | cut -d: -f5` 60 60 fi 61 echo"Configuring $ipdev statically ($ipaddress/$ipnetmask)"61 LogIt "Configuring $ipdev statically ($ipaddress/$ipnetmask)" 62 62 ifconfig $ipdev $ipaddress netmask $ipnetmask broadcast $ipbroadcast 63 63 route add default gw $ipgateway
Note:
See TracChangeset
for help on using the changeset viewer.