From 01d5a92771070746f521ffd5cbc20d8abd0679c1 Mon Sep 17 00:00:00 2001 From: toby Date: Tue, 6 Nov 2018 19:30:03 +0100 Subject: [PATCH] doh... typo... --- debian/wit-network-config.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/wit-network-config.postinst b/debian/wit-network-config.postinst index 0f78f94..7fed061 100755 --- a/debian/wit-network-config.postinst +++ b/debian/wit-network-config.postinst @@ -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