From 64736d64cc2a93c7d1a4cb3037aac03944344952 Mon Sep 17 00:00:00 2001 From: billz Date: Mon, 2 Nov 2020 08:23:55 +0000 Subject: [PATCH 01/17] Closes #701 --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index 7fddc414..4d4a03e9 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -266,7 +266,7 @@ function _prompt_install_openvpn() { function _install_openvpn() { _install_log "Installing OpenVPN and enabling client configuration" echo "Adding packages via apt-get" - sudo apt-get install $apt_option openvpn || _install_status 1 "Unable to install openvpn" + sudo apt-get install -y openvpn || _install_status 1 "Unable to install openvpn" sudo sed -i "s/\('RASPI_OPENVPN_ENABLED', \)false/\1true/g" "$webroot_dir/includes/config.php" || _install_status 1 "Unable to modify config.php" echo "Enabling openvpn-client service on boot" sudo systemctl enable openvpn-client@client || _install_status 1 "Unable to enable openvpn-client daemon" From 6ca12a184b525be9bfdccb0068815e31c1f63e2a Mon Sep 17 00:00:00 2001 From: billz Date: Wed, 4 Nov 2020 01:05:35 +0000 Subject: [PATCH 02/17] Add DHCP for eth0 option to advanced tab --- templates/dhcp/advanced.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/templates/dhcp/advanced.php b/templates/dhcp/advanced.php index 6366977c..eeec4a2d 100644 --- a/templates/dhcp/advanced.php +++ b/templates/dhcp/advanced.php @@ -4,7 +4,6 @@
-
@@ -48,6 +47,22 @@
+ +
+
+ +
+ aria-describedby="dhcp-eth0-description"> + +
+

+ +
eth0 configuration to DHCP and dnsmasq.") ?> +

+
+ + +