Changeset 3445 in MondoRescue
- Timestamp:
- Aug 29, 2015, 2:56:36 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/rootfs/usr/sbin/start-netfs
r3444 r3445 102 102 103 103 if [ "$oldipdev" = "$ipdev" ]; then 104 # We didn't find a new device for this MAC 105 LogIt "WARN: Interface $ipdev kept despite it doesn't match the $hwaddr MAC address" 106 ipdev=$oldipdev 107 fi 108 109 # TODO: Should we do that ? 110 if [ "$hwaddr" = "" ]; then 111 # No hwaddr stored at backup 112 # take the first interface and hope it's good 104 # We didn't find a new device for this MAC and it doesn't exist 105 # Take the first interface and hope it's good 113 106 ipdev=`ifconfig -a | grep HWaddr | awk '{print $1}' | head -1` 107 LogIt "WARN: Using $ipdev as no device matches the MAC address $hwaddr" 114 108 fi 115 109 fi
Note:
See TracChangeset
for help on using the changeset viewer.