Quellcode durchsuchen

Function to remove vpn

Bob Mottram vor 9 Jahren
Ursprung
Commit
8afe6548f9
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4
    0
      src/freedombone-app-vpn

+ 4
- 0
src/freedombone-app-vpn Datei anzeigen

28
 # You should have received a copy of the GNU Affero General Public License
28
 # You should have received a copy of the GNU Affero General Public License
29
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
29
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
30
 
30
 
31
+function remove_vpn_tunnel {
32
+	apt-get -y remove --purge fastd
33
+}
34
+
31
 function install_vpn_tunnel {
35
 function install_vpn_tunnel {
32
 	if ! grep -q "repo.universe-factory.net" /etc/apt/sources.list; then
36
 	if ! grep -q "repo.universe-factory.net" /etc/apt/sources.list; then
33
 		echo 'deb http://repo.universe-factory.net/debian/ sid main' >> /etc/apt/sources.list
37
 		echo 'deb http://repo.universe-factory.net/debian/ sid main' >> /etc/apt/sources.list