You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
952 B

--- 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()
#