]> git.ipfire.org Git - people/stevee/network.git/blobdiff - hooks/zones/bridge.configs/ipv6-static
Renew hook function naming scheme.
[people/stevee/network.git] / hooks / zones / bridge.configs / ipv6-static
index 57dfdefbe8bff54e5d313419c1e1c5fd432cd4e4..fb5513e0fbf967b8c9bebdb74a68711d34fbac41 100755 (executable)
@@ -23,7 +23,7 @@
 
 HOOK_SETTINGS="HOOK ADDRESS PREFIX GATEWAY"
 
-function _check() {
+function hook_check() {
        assert isset ADDRESS
        assert isinteger PREFIX
 
@@ -33,7 +33,7 @@ function _check() {
        fi
 }
 
-function _create() {
+function hook_create() {
        local zone=${1}
        shift
 
@@ -64,7 +64,7 @@ function _create() {
        exit ${EXIT_OK}
 }
 
-function _up() {
+function hook_up() {
        local zone=${1}
        local config=${2}
        shift 2
@@ -86,7 +86,7 @@ function _up() {
        exit ${EXIT_OK}
 }
 
-function _down() {
+function hook_down() {
        local zone=${1}
        local config=${2}
        shift 2
@@ -109,7 +109,7 @@ function _down() {
        exit ${EXIT_OK}
 }
 
-function _status() {
+function hook_status() {
        local zone=${1}
        local config=${2}
        shift 2