Skip to content
Snippets Groups Projects

sentinel.sh dependency

Merged Vojtech Myslivec requested to merge bugfix/lib-sentinel-source into develop
1 unresolved thread
Files
5
. /lib/functions.sh
#!/bin/sh
## sentinel-firewall.sh
#
# set of firewall rules handling functions intended to be sourced and reused
# in sentinel-related scripts
# source OpenWrt functions if not sourced yet
command -v config_load > /dev/null || . /lib/functions.sh
# This function enables given option on firewall zone wan unless it is already set
# to some value.