about summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2015-10-02 09:18:54 +0200
committerJuan RP <xtraeme@gmail.com>2015-10-02 09:18:54 +0200
commitf5ad23e8645e051971d41583b61039a1b7e6ad56 (patch)
tree65618181b08b28eee4d9e6f4b48d02e88fe763e6 /installer.sh.in
parent82d209000948e8415150abc109de40d8fded0594 (diff)
parent834cf6cf80676a2ad4760b84478319a9fd70f287 (diff)
downloadhrmpf-f5ad23e8645e051971d41583b61039a1b7e6ad56.tar.gz
hrmpf-f5ad23e8645e051971d41583b61039a1b7e6ad56.tar.xz
hrmpf-f5ad23e8645e051971d41583b61039a1b7e6ad56.zip
Merge pull request #41 from steski/staticip-issue
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 83f3d8c..84dbcb0 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." \