about summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorSteve Prybylski <sa.prybylx@gmail.com>2015-10-01 19:47:23 -0400
committerSteve Prybylski <sa.prybylx@gmail.com>2015-10-01 20:28:37 -0400
commit834cf6cf80676a2ad4760b84478319a9fd70f287 (patch)
treeacacf96348461450986846efa77d49a5696128f0 /installer.sh.in
parent6a8e09f715ae3b9f9fd467d203c8b4a88df26d3f (diff)
downloadhrmpf-834cf6cf80676a2ad4760b84478319a9fd70f287.tar.gz
hrmpf-834cf6cf80676a2ad4760b84478319a9fd70f287.tar.xz
hrmpf-834cf6cf80676a2ad4760b84478319a9fd70f287.zip
installer.sh: fix static IP settings in menu_install
Diffstat (limited to 'installer.sh.in')
-rw-r--r--installer.sh.in2
1 files changed, 1 insertions, 1 deletions
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." \