mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
fix ip error on boot
This commit is contained in:
parent
4f720b6d5d
commit
b5576cb5e5
@ -137,6 +137,7 @@ if [ "${DIRECT}" = "true" ]; then
|
||||
reboot
|
||||
exit 0
|
||||
else
|
||||
ETHX=(`ls /sys/class/net/ | grep eth`) # real network cards list
|
||||
echo "`printf "$(TEXT "Detected %s network cards, Waiting IP.")" "${#ETHX[@]}"`"
|
||||
for N in $(seq 0 $(expr ${#ETHX[@]} - 1)); do
|
||||
COUNT=0
|
||||
|
Loading…
x
Reference in New Issue
Block a user