installer.sh: fix static IP settings in menu_install

This commit is contained in:
Steve Prybylski 2015-10-01 19:47:23 -04:00
parent 6a8e09f715
commit 834cf6cf80
1 changed files with 1 additions and 1 deletions

View File

@ -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." \