diff --git a/scripts/install b/scripts/install index 5dd508d..5f746d4 100644 --- a/scripts/install +++ b/scripts/install @@ -179,14 +179,6 @@ ynh_add_config --template="../conf/openvpn_90-hotspot" --destination="/etc/openv chmod 0755 "/etc/openvpn/scripts/route-up.d/90-${service_name}" chmod 0755 "/etc/openvpn/scripts/route-down.d/90-${service_name}" -# Copy openvpn scripts -mkdir -pm 0755 /etc/openvpn/scripts -mkdir -pm 0755 /etc/openvpn/scripts/route-up.d -mkdir -pm 0755 /etc/openvpn/scripts/route-down.d -install -o root -g root -m 0755 ../conf/openvpn_90-hotspot /etc/openvpn/scripts/route-up.d/90-hotspot -install -o root -g root -m 0755 ../conf/openvpn_90-hotspot /etc/openvpn/scripts/route-down.d/90-hotspot - - #================================================= # CONFIGURE HOSTAPD #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index dfa7c6d..1d56a39 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -237,13 +237,6 @@ ynh_add_config --template="../conf/openvpn_90-hotspot" --destination="/etc/openv chmod 0755 "/etc/openvpn/scripts/route-up.d/90-${service_name}" chmod 0755 "/etc/openvpn/scripts/route-down.d/90-${service_name}" -# Copy openvpn scripts -mkdir -pm 0755 /etc/openvpn/scripts -mkdir -pm 0755 /etc/openvpn/scripts/route-up.d -mkdir -pm 0755 /etc/openvpn/scripts/route-down.d -install -o root -g root -m 0755 ../conf/openvpn_90-hotspot /etc/openvpn/scripts/route-up.d/90-hotspot -install -o root -g root -m 0755 ../conf/openvpn_90-hotspot /etc/openvpn/scripts/route-down.d/90-hotspot - #================================================= # SETUP SYSTEMD #=================================================