diff options
author | Juan RP <xtraeme@gmail.com> | 2015-10-02 09:18:54 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2015-10-02 09:18:54 +0200 |
commit | f5ad23e8645e051971d41583b61039a1b7e6ad56 (patch) | |
tree | 65618181b08b28eee4d9e6f4b48d02e88fe763e6 /installer.sh.in | |
parent | 82d209000948e8415150abc109de40d8fded0594 (diff) | |
parent | 834cf6cf80676a2ad4760b84478319a9fd70f287 (diff) | |
download | hrmpf-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.in | 2 |
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." \ |