aboutsummaryrefslogtreecommitdiff
path: root/net/ipvsadm/patches/002-save-restore.patch
blob: 34737a252e9e82ad1946b4a86822b4d5647b57ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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()
 #