Function to remove vpn

This commit is contained in:
Bob Mottram 2016-07-04 19:06:09 +01:00
parent 3f7be9c1d6
commit 8afe6548f9
1 changed files with 4 additions and 0 deletions

View File

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