mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 14:04:26 -04:00 
			
		
		
		
	| When using OpenWRT with DSA and 'lan' ports, we could get an empty
`next_eth`. This is of course not desirable, as this causes `sh: out of
range` errors when trying to determine which one would be greater.
It turns out, that we don't even need this check at all because, when
looking for all existin eth*s on a system, and take the highest index
and then iterate a set of devices and rename to eth${highest_index+n},
it is guaranteed that there will be no conflict.
Fixes:  | ||
|---|---|---|
| .. | ||
| 02_default_set_state | ||
| 02_sysinfo | ||
| 10_indicate_failsafe | ||
| 10_indicate_preinit | ||
| 30_failsafe_wait | ||
| 40_run_failsafe_hook | ||
| 50_indicate_regular_preinit | ||
| 70_initramfs_test | ||
| 80_mount_root | ||
| 99_10_failsafe_login | ||
| 99_10_run_init | ||