Explorar el Código

Starting vpn daemon

Bob Mottram hace 7 años
padre
commit
00d1e643c6
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      src/freedombone-app-vpn

+ 2
- 1
src/freedombone-app-vpn Ver fichero

@@ -121,6 +121,7 @@ function restore_remote_vpn {
121 121
 }
122 122
 
123 123
 function remove_vpn {
124
+    systemctl stop openvpn
124 125
     apt-get -yq remove --purge fastd openvpn easy-rsa
125 126
     if [ -d /etc/openvpn ]; then
126 127
         rm -rf /etc/openvpn
@@ -297,7 +298,7 @@ y
297 298
     create_user_vpn_key $MY_USERNAME
298 299
 
299 300
     firewall_enable_vpn
300
-    systemctl openvpn start
301
+    systemctl start openvpn
301 302
 
302 303
     APP_INSTALLED=1
303 304
 }