Compare commits

...
This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.

1 Commits

Author SHA1 Message Date
Tiago Marques bc1c941c66 filesystem: configuration for Swarms network. 2018-03-01 10:54:46 +00:00
1 changed files with 6 additions and 0 deletions

View File

@ -62,6 +62,12 @@ start()
arp -s "$ip" "$mac"
done
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()