net/ipvsadm: add Virtual Server Administration Tool

Add the ipvsadm command line tool to set up, maintain or inspect the virtual
server table in the Linux kernel.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2018-09-12 14:52:46 +02:00
committed by Yousong Zhou
parent a3e495e367
commit 79c5c78115
3 changed files with 149 additions and 0 deletions
@@ -0,0 +1,34 @@
--- a/ipvsadm-restore
+++ b/ipvsadm-restore
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# ipvsadm-restore - Restore IPVS rules
#
# A very simple wrapper to restore IPVS rules
@@ -11,6 +11,8 @@
# This file:
#
# ChangeLog
+# M. Mozzarelli : Amended to use /bin/sh for compatibility
+# : with embedded systems using busybox
# Horms : Clear IPVS rules before adding from STDIN
# Horms : Filter out "^#"
#
--- a/ipvsadm-save
+++ b/ipvsadm-save
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# ipvsadm-save - Save IPVS rules
#
# A very simple wrapper to save IPVS rules
@@ -12,6 +12,8 @@
#
# ChangeLog
#
+# M. Mozzarelli : Amended to use /bin/sh for compatibility
+# : with embedded systems using busybox
# Wensong Zhang : Added the "-n" option and the help()
#