Compare commits
1 Commits
master
...
mission/sw
Author | SHA1 | Date | |
---|---|---|---|
|
bc1c941c66 |
@ -62,6 +62,12 @@ start()
|
|||||||
arp -s "$ip" "$mac"
|
arp -s "$ip" "$mac"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# swarms network
|
||||||
|
if [ -n "$cfg_eth_swarms_ip" ]; then
|
||||||
|
ifconfig eth0:swarms "$cfg_eth_swarms_ip" netmask "$cfg_eth_swarms_mk" up
|
||||||
|
route add -net 192.168.0.0 netmask "$cfg_eth_swarms_mk" dev eth0
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
stop()
|
stop()
|
||||||
|
Reference in New Issue
Block a user