HOOK_SETTINGS="HOOK ADDRESS PARENT"
-function _check() {
+function hook_check() {
assert isset PARENT
assert ismac ADDRESS
}
-function _create() {
+function hook_create() {
while [ $# -gt 0 ]; do
case "${1}" in
--parent-device=*)
exit ${EXIT_OK}
}
-function _edit() {
+function hook_edit() {
local port=${1}
assert isset port
shift
exit ${EXIT_OK}
}
-function _up() {
+function hook_up() {
local port=${1}
assert isset port
exit ${EXIT_OK}
}
-function _down() {
+function hook_down() {
local port=${1}
assert isset port