Function to remove vpn
This commit is contained in:
parent
3f7be9c1d6
commit
8afe6548f9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue