From 6c456d3b90cad5930a6a9b221262ab99e0d93391 Mon Sep 17 00:00:00 2001 From: Kaladin Light <0.kaladin@gmail.com> Date: Wed, 7 Dec 2016 13:03:32 -0500 Subject: [PATCH] Minor fixes for couple issues --- auto_install/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index 6aa5fa0..8dbe4f5 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -318,7 +318,7 @@ It is also possible to use a DHCP reservation, but if you are going to do that, setDHCPCD() { # Append these lines to dhcpcd.conf to enable a static IP - echo "## interface ${pivpnInterface} + echo "interface ${pivpnInterface} static ip_address=${IPv4addr} static routers=${IPv4gw} static domain_name_servers=${IPv4dns}" | $SUDO tee -a ${dhcpcdFile} >/dev/null @@ -459,7 +459,7 @@ checkForDependencies() { echo ":::" echo "::: Checking dependencies:" - dependencies=( openvpn git iptables-persistent dnsutils expect whiptail ) + dependencies=( openvpn git dhcpcd5 tar wget iptables-persistent dnsutils expect whiptail ) for i in "${dependencies[@]}"; do echo -n "::: Checking for $i..." if [ "$(dpkg-query -W -f='${Status}' "$i" 2>/dev/null | grep -c "ok installed")" -eq 0 ]; then