Merge pull request #41 from steski/staticip-issue
installer.sh: fix static IP settings in menu_install
This commit is contained in:
commit
f5ad23e864
|
@ -913,7 +913,7 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
|
||||||
else
|
else
|
||||||
enable_dhcpd
|
enable_dhcpd
|
||||||
fi
|
fi
|
||||||
elif [ -n "$dev" -a -n "$type" = "static" ]; then
|
elif [ -n "$_dev" -a "$_type" = "static" ]; then
|
||||||
# static IP through dhcpcd.
|
# static IP through dhcpcd.
|
||||||
mv $TARGETDIR/etc/dhcpcd.conf $TARGETDIR/etc/dhdpcd.conf.orig
|
mv $TARGETDIR/etc/dhcpcd.conf $TARGETDIR/etc/dhdpcd.conf.orig
|
||||||
echo "# Static IP configuration set by the void-installer for $_dev." \
|
echo "# Static IP configuration set by the void-installer for $_dev." \
|
||||||
|
|
Loading…
Reference in New Issue