HOOK_SETTINGS="HOOK ADDRESS PREFIX GATEWAY"
-function hook_check() {
+hook_check() {
assert isset ADDRESS
assert isinteger PREFIX
fi
}
-function hook_create() {
+hook_create() {
local zone=${1}
shift
exit ${EXIT_OK}
}
-function hook_up() {
+hook_up() {
local zone=${1}
local config=${2}
shift 2
exit ${EXIT_OK}
}
-function hook_down() {
+hook_down() {
local zone=${1}
local config=${2}
shift 2
exit ${EXIT_OK}
}
-function hook_status() {
+hook_status() {
local zone=${1}
local config=${2}
shift 2