From 834cf6cf80676a2ad4760b84478319a9fd70f287 Mon Sep 17 00:00:00 2001 From: Steve Prybylski Date: Thu, 1 Oct 2015 19:47:23 -0400 Subject: installer.sh: fix static IP settings in menu_install --- installer.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'installer.sh.in') diff --git a/installer.sh.in b/installer.sh.in index 23c7583..f86349d 100644 --- a/installer.sh.in +++ b/installer.sh.in @@ -913,7 +913,7 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return else enable_dhcpd fi - elif [ -n "$dev" -a -n "$type" = "static" ]; then + elif [ -n "$_dev" -a "$_type" = "static" ]; then # static IP through dhcpcd. mv $TARGETDIR/etc/dhcpcd.conf $TARGETDIR/etc/dhdpcd.conf.orig echo "# Static IP configuration set by the void-installer for $_dev." \ -- cgit 1.4.1