aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ipvsadm/ipvsadm.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-08-29 04:17:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-08-29 04:22:48 +0000
commit282710de7d09bec8633510f6776b801475ec7757 (patch)
tree8d7b2dd538c69043ae793c9ed406f9b55923e9bc /unmaintained/ipvsadm/ipvsadm.initd
parent3662ca6f176a9e180234b16ff380eab62bb0649e (diff)
downloadaports-282710de7d09bec8633510f6776b801475ec7757.tar.bz2
aports-282710de7d09bec8633510f6776b801475ec7757.tar.xz
testing/ipvsadm: upgrade to 1.28
Diffstat (limited to 'unmaintained/ipvsadm/ipvsadm.initd')
-rw-r--r--unmaintained/ipvsadm/ipvsadm.initd42
1 files changed, 0 insertions, 42 deletions
diff --git a/unmaintained/ipvsadm/ipvsadm.initd b/unmaintained/ipvsadm/ipvsadm.initd
deleted file mode 100644
index 17a4bfac5e..0000000000
--- a/unmaintained/ipvsadm/ipvsadm.initd
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/files/ipvsadm-init,v 1.5 2011/12/04 10:40:20 swegener Exp $
-
-extra_commands="save"
-
-depend() {
- need net
-}
-
-checkconfig() {
-
- checkpath --directory /var/lib/ipvsadm
-
- if [ ! -f /var/lib/ipvsadm/rules-save ] ; then
- eerror "Not starting ipvsadm. First create some rules then run"
- eerror "/etc/init.d/ipvsadm save"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting ipvsadm"
- einfo "Clearing previous rules"
- ipvsadm -C
- ipvsadm-restore < /var/lib/ipvsadm/rules-save
- eend $?
-}
-
-stop() {
- ebegin "Stopping ipvsadm"
- eend $?
-}
-
-save() {
- ebegin "Saving ipvsadm state"
- ipvsadm-save > /var/lib/ipvsadm/rules-save
- eend $?
-}
-