blob: d1162194e4f50ea2b6dfc3d708095ada1188e026 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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"
|