diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-11-09 19:42:30 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-11-11 10:50:16 +0100 |
commit | b0fd63195bec8bcfe1cc0a2a0f949911109426b5 (patch) | |
tree | af6fc0c98c70f71a3a18fe4183d79d937c65f429 /doc/examples/openwrt/fastd.init | |
parent | 924261bc926ce497eecad2d0f10b03088e3fdec7 (diff) | |
download | fastd-b0fd63195bec8bcfe1cc0a2a0f949911109426b5.tar fastd-b0fd63195bec8bcfe1cc0a2a0f949911109426b5.zip |
docs: examples/openwrt: support all handler commands via UCI
Diffstat (limited to 'doc/examples/openwrt/fastd.init')
-rw-r--r-- | doc/examples/openwrt/fastd.init | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/examples/openwrt/fastd.init b/doc/examples/openwrt/fastd.init index 325ea12..25a3bb8 100644 --- a/doc/examples/openwrt/fastd.init +++ b/doc/examples/openwrt/fastd.init @@ -79,6 +79,14 @@ config_string_hide_ip_addresses='hide ip addresses $(yes_no "$value");' config_string_hide_mac_addresses='hide mac addresses $(yes_no "$value");' config_string_secure_handshakes='secure handshakes $(yes_no "$value");' config_string_packet_mark='packet mark $(guard_value "$value");' +config_string_on_pre_up='on pre-up $(escape_string "$value");' +config_string_on_up='on up $(escape_string "$value");' +config_string_on_down='on down $(escape_string "$value");' +config_string_on_post_down='on post-down $(escape_string "$value");' +config_string_on_connect='on connect $(escape_string "$value");' +config_string_on_establish='on establish $(escape_string "$value");' +config_string_on_disestablish='on disestablish $(escape_string "$value");' +config_string_on_verify='on verify $(escape_string "$value");' config_string_peer='peer $(escape_string "$value") {' config_string_peer_group='peer group $(escape_string "$value") {' @@ -234,7 +242,8 @@ generate_config() { append_options "$s" config \ config config_peer config_peer_dir bind method syslog_level mode interface mtu peer_limit \ - user group status_socket pmtu forward hide_ip_addresses hide_mac_addresses secure_handshakes packet_mark + user group status_socket pmtu forward hide_ip_addresses hide_mac_addresses secure_handshakes packet_mark \ + on_pre_up on_up on_down on_post_down on_connect on_establish on_disestablish on_verify config_get mode "$s" mode |