Update check-node
This commit is contained in:
parent
e726d80431
commit
945f71ae92
@ -1,7 +1,7 @@
|
||||
#!/bin/ash
|
||||
|
||||
num_macs=`ls /tmp/tinc/peer/$NODE/mac | wc -l`
|
||||
num_ips=`ls /tmp/tinc/peer/$NODE/ips | wc -l`
|
||||
num_ips=`ls /tmp/tinc/peer/$NODE/ip | wc -l`
|
||||
if [ "$num_macs" = "1" ]; then
|
||||
if [ "$num_ips" = "0"]; then
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user