FreeBSD Bugzilla – Attachment 200820 Details for
Bug 234648
security/strongswan: start/stop/reload modern vici-based configurations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Ugly patch that loads swanctl.conf
strongswan.in.patch (text/plain), 811 bytes, created by
Jose Luis Duran
on 2019-01-06 00:59:33 UTC
(
hide
)
Description:
Ugly patch that loads swanctl.conf
Filename:
MIME Type:
Creator:
Jose Luis Duran
Created:
2019-01-06 00:59:33 UTC
Size:
811 bytes
patch
obsolete
>diff --git files/strongswan.in files/strongswan.in >index 527fcbf..cc49fb0 100644 >--- files/strongswan.in >+++ files/strongswan.in >@@ -16,12 +16,16 @@ extra_commands="reload statusall" > > load_rc_config $name > >+strongswan_swanctl_enable=${strongswan_swanctl_enable:-"NO"} >+ > command="%%PREFIX%%/sbin/ipsec" > > start_precmd="strongswan_precmd" >+start_postcmd="strongswan_postcmd" > stop_cmd="strongswan_cmd" > status_cmd="strongswan_cmd" > reload_cmd="strongswan_cmd" >+reload_postcmd="strongswan_postcmd" > statusall_cmd="strongswan_cmd" > > strongswan_precmd() >@@ -29,6 +33,14 @@ strongswan_precmd() > command_args=${rc_arg} > } > >+strongswan_postcmd() >+{ >+ if checkyesno strongswan_swanctl_enable; then >+ sleep 1 >+ %%PREFIX%%/sbin/swanctl --load-all --noprompt >+ fi >+} >+ > strongswan_cmd() > { > ${command} ${rc_arg}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234648
:
200820
|
200947
|
200948
|
201047
|
201171
|
201208
|
201209
|
202474
|
202573