aboutsummaryrefslogtreecommitdiffstats
path: root/mandriva/vpn/vpn-ifdown
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2020-07-30 22:10:35 +0200
committerOlav Vitters <olav@vitters.nl>2020-07-30 22:10:35 +0200
commita5c52c00c16be69e14360222520129d30f76e042 (patch)
treed44ff9f87b2985ead827c72c55b5aaee23c5dd10 /mandriva/vpn/vpn-ifdown
parent817ca842f086f7290f183720539834263c2f1afe (diff)
downloadinitscripts-a5c52c00c16be69e14360222520129d30f76e042.tar
initscripts-a5c52c00c16be69e14360222520129d30f76e042.tar.gz
initscripts-a5c52c00c16be69e14360222520129d30f76e042.tar.bz2
initscripts-a5c52c00c16be69e14360222520129d30f76e042.tar.xz
initscripts-a5c52c00c16be69e14360222520129d30f76e042.zip
Align Makefile and tree structure with upstream tree structure
Instead of placing the custom files with the upstream files it seems clearer to have them mostly separated. This makes it easier to see which parts are custom and which parts are more or less upstream. As a result the upstream Makefile only needed minor changes to accomodate this. The Makefile is NOT bug free, unfortunately it doesn't always do the right thing, this due to inexperience.
Diffstat (limited to 'mandriva/vpn/vpn-ifdown')
-rwxr-xr-xmandriva/vpn/vpn-ifdown8
1 files changed, 0 insertions, 8 deletions
diff --git a/mandriva/vpn/vpn-ifdown b/mandriva/vpn/vpn-ifdown
deleted file mode 100755
index 466e54fd..00000000
--- a/mandriva/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