aboutsummaryrefslogtreecommitdiffstats
path: root/mageia/network-scripts/ifup.d/vpn
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2020-07-31 13:34:44 +0200
committerOlav Vitters <olav@vitters.nl>2020-07-31 13:34:44 +0200
commit6a119d8d077c62db5a521ce1742ad3250aa4e886 (patch)
tree31ef64589133d3cd2c102ea09398f8f55a5f6e53 /mageia/network-scripts/ifup.d/vpn
parent559146d86096ba0f779bfd102639d602b2e81a1a (diff)
downloadinitscripts-6a119d8d077c62db5a521ce1742ad3250aa4e886.tar
initscripts-6a119d8d077c62db5a521ce1742ad3250aa4e886.tar.gz
initscripts-6a119d8d077c62db5a521ce1742ad3250aa4e886.tar.bz2
initscripts-6a119d8d077c62db5a521ce1742ad3250aa4e886.tar.xz
initscripts-6a119d8d077c62db5a521ce1742ad3250aa4e886.zip
vpn: use same directory layout as Makefile used to generate, part 1
Diffstat (limited to 'mageia/network-scripts/ifup.d/vpn')
-rwxr-xr-xmageia/network-scripts/ifup.d/vpn/vpn-ifdown8
-rwxr-xr-xmageia/network-scripts/ifup.d/vpn/vpn-ifup8
2 files changed, 0 insertions, 16 deletions
diff --git a/mageia/network-scripts/ifup.d/vpn/vpn-ifdown b/mageia/network-scripts/ifup.d/vpn/vpn-ifdown
deleted file mode 100755
index 466e54fd..00000000
--- a/mageia/network-scripts/ifup.d/vpn/vpn-ifdown
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-if [ -r /etc/sysconfig/network-scripts/ifcfg-$1 ]; then
- . /etc/sysconfig/network-scripts/ifcfg-$1
- if [ -n "$VPN_TYPE" ] && [ -n "$VPN_NAME" ]; then
- /usr/sbin/vpn-stop $VPN_TYPE $VPN_NAME
- fi
-fi
diff --git a/mageia/network-scripts/ifup.d/vpn/vpn-ifup b/mageia/network-scripts/ifup.d/vpn/vpn-ifup
deleted file mode 100755
index 4425d154..00000000
--- a/mageia/network-scripts/ifup.d/vpn/vpn-ifup
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-if [ -r /etc/sysconfig/network-scripts/ifcfg-$1 ]; then
- . /etc/sysconfig/network-scripts/ifcfg-$1
- if [ -n "$VPN_TYPE" ] && [ -n "$VPN_NAME" ]; then
- /usr/sbin/vpn-start $VPN_TYPE "$VPN_NAME"
- fi
-fi