doh... typo...

This commit is contained in:
toby 2018-11-06 19:30:03 +01:00
parent f7738182af
commit 01d5a92771
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ case "$1" in
EOF
PUBLICLOIP=$(dig_a public.loopback.${HOSTNAME}) || true
if [[ ! -z PUBLICLOIP ]]; then
if [[ ! -z $PUBLICLOIP ]]; then
cat <<-EOF >>$IFCONFIG
iface lo inet static
address ${PUBLICLOIP}/32