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

  1. --- a/ipvsadm-restore
  2. +++ b/ipvsadm-restore
  3. @@ -1,4 +1,4 @@
  4. -#!/bin/bash
  5. +#!/bin/sh
  6. # ipvsadm-restore - Restore IPVS rules
  7. #
  8. # A very simple wrapper to restore IPVS rules
  9. @@ -11,6 +11,8 @@
  10. # This file:
  11. #
  12. # ChangeLog
  13. +# M. Mozzarelli : Amended to use /bin/sh for compatibility
  14. +# : with embedded systems using busybox
  15. # Horms : Clear IPVS rules before adding from STDIN
  16. # Horms : Filter out "^#"
  17. #
  18. --- a/ipvsadm-save
  19. +++ b/ipvsadm-save
  20. @@ -1,4 +1,4 @@
  21. -#!/bin/bash
  22. +#!/bin/sh
  23. # ipvsadm-save - Save IPVS rules
  24. #
  25. # A very simple wrapper to save IPVS rules
  26. @@ -12,6 +12,8 @@
  27. #
  28. # ChangeLog
  29. #
  30. +# M. Mozzarelli : Amended to use /bin/sh for compatibility
  31. +# : with embedded systems using busybox
  32. # Wensong Zhang : Added the "-n" option and the help()
  33. #