summaryrefslogtreecommitdiff
path: root/scripts/live-functions
diff options
context:
space:
mode:
authorSteven Shiau <steven@nchc.org.tw>2010-03-16 18:56:01 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:07 +0100
commit916bfc9fa4b28c67a8f29310cf9928a7e6995738 (patch)
treea7145d283d839b044920d412788e6b5896e551f3 /scripts/live-functions
parentcae2693a5c6bc93bf8c0fb5ede1941dc5d871485 (diff)
downloadlive-boot-916bfc9fa4b28c67a8f29310cf9928a7e6995738.tar.gz
live-boot-916bfc9fa4b28c67a8f29310cf9928a7e6995738.zip
Making select_eth_device work with 2nd NIC linked only and FETCH assigned.
The differences: 1. If user uses "FETCH", "HTTPFS", or "FTPFS", select_eth_device should not exit since network is also required to get the filesystem.squashfs. 2. Files in "/sys/class/net/" maybe not be up so quick, so it's better to use a while loop to wait for that. 3. Another case is, for example, if eth0 and eth1 are linked, but only eth1 is able to get filesystem.squashfs, the original select_eth_device will try eth0 only. It's better to provide an alternative way to allow user to specify the device in boot parameter. Here in the patch live-netdev=eth1, for example, can be used to make it.
Diffstat (limited to 'scripts/live-functions')
0 files changed, 0 insertions, 0 deletions