parent
776355717c
commit
fb29bd369a
1 changed files with 3 additions and 2 deletions
|
@ -15,6 +15,7 @@ preinit_ip() {
|
|||
fi
|
||||
pi_ifname=$ifname
|
||||
}
|
||||
fi
|
||||
[ -n "$pi_ifname" ] && grep "$pi_ifname" /proc/net/dev >/dev/null && {
|
||||
ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue