summaryrefslogtreecommitdiffstats
path: root/main/vde2/vde.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-15 16:37:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-15 16:37:33 +0000
commit8ddd1d64533f42a551e8bbe423ab2f9aff6da7ba (patch)
treee58ec2201a8cedf86f65669bb44ed84f4d0910cd /main/vde2/vde.initd
parentd8bb74e692879c48f0042e672f2c43a1e39a5b62 (diff)
downloadaports-8ddd1d64533f42a551e8bbe423ab2f9aff6da7ba.tar.bz2
aports-8ddd1d64533f42a551e8bbe423ab2f9aff6da7ba.tar.xz
main/vde2: remove the init.d scripts and create vde2-net group
We only support the ifup/down network style for this from now on.
Diffstat (limited to 'main/vde2/vde.initd')
-rw-r--r--main/vde2/vde.initd26
1 files changed, 0 insertions, 26 deletions
diff --git a/main/vde2/vde.initd b/main/vde2/vde.initd
deleted file mode 100644
index 6400f9bbb..000000000
--- a/main/vde2/vde.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/files/vde.init,v 1.4 2010/01/12 12:58:36 dang Exp $
-
-depend() {
- after net.${VDE_TAP}
-}
-
-
-start() {
- ebegin "Starting vde"
- [ "${VDE_MODPROBE_TUN}" == "yes" ] && modprobe tun
- start-stop-daemon --start --quiet \
- --exec /usr/bin/vde_switch -- ${VDE_OPTS}
- eend $? "Failed to start vde"
- chmod -R ${VDE_SOCK_CHMOD} /var/run/vde.ctl
- chown -R ${VDE_SOCK_CHOWN} /var/run/vde.ctl
-}
-
-stop() {
- ebegin "Stopping vde"
- [ "${VDE_MODPROBE_TUN}" == "yes" ] && modprobe -r tun
- start-stop-daemon --stop --quiet --exec /usr/bin/vde_switch
- eend $? "Failed to stop vde"
-}