Blame public/fs/etc/sysconfig/network/ifcfg-eth0-conf.sh

root@culturestrings 2caf08
#!/bin/sh
root@culturestrings 2caf08
root@culturestrings 2caf08
set -eu
root@culturestrings 2caf08
root@culturestrings 2caf08
cfg_script="$0"
root@culturestrings 2caf08
cfg_srcdir=$(cd -- "${cfg_script%/*}/" ; pwd -P)
root@culturestrings 2caf08
root@culturestrings 2caf08
source /root/config/private/config/server.ports
root@culturestrings 2caf08
root@culturestrings 2caf08
sed -e 's/@host_ipv4@/'${host_ipv4}'/g'     \
root@culturestrings 2caf08
	-e 's/@host_ipv6@/'${host_ipv6}'/g'  \
root@culturestrings 2caf08
	"${cfg_srcdir}/ifcfg-eth0.in"