Update check-node
This commit is contained in:
parent
945f71ae92
commit
30f6f8d91e
@ -9,6 +9,6 @@ if [ "$num_macs" = "1" ]; then
|
||||
|
||||
mac=`ls /tmp/tinc/peer/$NODE/mac`
|
||||
ips=`ls /tmp/tinc/peer/$NODE/ip`
|
||||
echo $ips | xargs -n 1 -I {} echo "[ARP] Adding {} to the table..."
|
||||
echo $ips | xargs -n 1 -I {} echo "[ARP] Adding {} <=> $mac to the table..."
|
||||
echo $ips | xargs -n 1 -I {} arp -s {} $mac
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user