瀏覽代碼

Function to remove vpn

Bob Mottram 8 年之前
父節點
當前提交
8afe6548f9
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      src/freedombone-app-vpn

+ 4
- 0
src/freedombone-app-vpn 查看文件

@@ -28,6 +28,10 @@
28 28
 # You should have received a copy of the GNU Affero General Public License
29 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 35
 function install_vpn_tunnel {
32 36
 	if ! grep -q "repo.universe-factory.net" /etc/apt/sources.list; then
33 37
 		echo 'deb http://repo.universe-factory.net/debian/ sid main' >> /etc/apt/sources.list