mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
Revert "interfaces: follow upstream commit"
This reverts commit 60b1397c246b5cb41dcd001d793261412a6d92d0.
This commit is contained in:
parent
60b1397c24
commit
56d2ea6ce5
@ -184,12 +184,13 @@ $LOGGER "Reason $reason on $interface executing"
|
||||
case $reason in
|
||||
MEDIUM)
|
||||
eval "$IFCONFIG $interface $medium"
|
||||
eval "$IFCONFIG $interface inet -alias 0.0.0.0 $medium" >/dev/null 2>&1
|
||||
sleep 1
|
||||
;;
|
||||
|
||||
PREINIT)
|
||||
delete_old_alias
|
||||
eval "$IFCONFIG $interface up"
|
||||
$IFCONFIG $interface inet alias 0.0.0.0 netmask 255.0.0.0 broadcast 255.255.255.255 up
|
||||
/usr/local/sbin/ifctl -i ${interface} -4rd
|
||||
;;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user