]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/hooks/configs/ipv6-static
Remove the function keyword which is a bashism
[people/stevee/network.git] / src / hooks / configs / ipv6-static
index c64ec8b0d6448235dcfc0dd50dd041f100e53df5..f4f9ddf4b6d38ab24ad0bcbd6744b6f86a629782 100644 (file)
@@ -23,7 +23,7 @@
 
 HOOK_SETTINGS="HOOK ADDRESS PREFIX GATEWAY"
 
-function hook_check() {
+hook_check() {
        assert isset ADDRESS
        assert isinteger PREFIX
 
@@ -33,7 +33,7 @@ function hook_check() {
        fi
 }
 
-function hook_create() {
+hook_create() {
        local zone=${1}
        shift
 
@@ -64,7 +64,7 @@ function hook_create() {
        exit ${EXIT_OK}
 }
 
-function hook_up() {
+hook_up() {
        local zone=${1}
        local config=${2}
        shift 2
@@ -86,7 +86,7 @@ function hook_up() {
        exit ${EXIT_OK}
 }
 
-function hook_down() {
+hook_down() {
        local zone=${1}
        local config=${2}
        shift 2
@@ -109,7 +109,7 @@ function hook_down() {
        exit ${EXIT_OK}
 }
 
-function hook_status() {
+hook_status() {
        local zone=${1}
        local config=${2}
        shift 2