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.

26 lines
1013 B

  1. From c779da992bdd440e336383da0eb75ef3a2ea6cde Mon Sep 17 00:00:00 2001
  2. From: Noel Kuntze <noel.kuntze@thermi.consulting>
  3. Date: Mon, 12 Jul 2021 01:32:20 +0200
  4. Subject: [PATCH 903/904] updown: Call /sbin/hotplug-call ipsec "$1" in updown
  5. script. Patch taken verbatim from openwrt package sources.
  6. ---
  7. src/_updown/_updown.in | 7 +++++++
  8. 1 file changed, 7 insertions(+)
  9. --- a/src/_updown/_updown.in
  10. +++ b/src/_updown/_updown.in
  11. @@ -22,6 +22,13 @@
  12. # that, and use the (left/right)updown parameters in ipsec.conf to make
  13. # strongSwan use yours instead of this default one.
  14. +# Add your custom commands to the file "/etc/ipsec.user". Other packages could
  15. +# also install their scripts in the directory "/etc/hotplug.d/ipsec".
  16. +# This files/scripts are executed by the openwrt hotplug functionality on
  17. +# ipsec events.
  18. +
  19. +/sbin/hotplug-call ipsec "$1"
  20. +
  21. # PLUTO_VERSION
  22. # indicates what version of this interface is being
  23. # used. This document describes version 1.1. This