3 [ -n "$INCLUDE_ONLY" ] ||
{
9 proto_batadv_hardif_init_config
() {
10 proto_config_add_string
"master"
13 proto_batadv_hardif_setup
() {
21 ( proto_add_host_dependency
"$config" '' "$master" )
23 batctl
-m "$master" interface
-M add
"$iface"
25 proto_init_update
"$iface" 1
26 proto_send_update
"$config"
29 proto_batadv_hardif_teardown
() {
37 batctl
-m "$master" interface
-M del
"$iface" || true
40 add_protocol batadv_hardif