#!/bin/sh

set -eu

cfg_script="$0"
cfg_srcdir=$(cd -- "${cfg_script%/*}/" ; pwd -P)

source /root/config/private/config/server.ports

sed -e 's/@host_ipv4@/'${host_ipv4}'/g'     \
	-e 's/@host_ipv6@/'${host_ipv6}'/g'  \
	"${cfg_srcdir}/ifcfg-eth0.in"
