HOOK_SETTINGS="COST PRIORITY"
-function _check() {
+function hook_check() {
local i
for i in COST PRIORITY; do
if isset ${i}; then
done
}
-function _add() {
+function hook_add() {
local zone=${1}
local port=${2}
shift 2
exit ${EXIT_OK}
}
-function _edit() {
- _add $@
+function hook_edit() {
+ hook_add $@
}
-function _rem() {
+function hook_remove() {
local zone=${1}
local port=${2}
exit ${EXIT_OK}
}
-function _up() {
+function hook_up() {
local zone=${1}
local port=${2}
exit ${EXIT_OK}
}
-function _down() {
+function hook_down() {
local zone=${1}
local port=${2}
exit ${EXIT_OK}
}
-function _status() {
+function hook_status() {
local zone=${1}
local port=${2}