]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/hooks/configs/ipv6-auto
Remove the function keyword which is a bashism
[people/stevee/network.git] / src / hooks / configs / ipv6-auto
index 6cb5ed305bc832c8bcd28ad6e4260f82d7e3b10b..b2c398f127c9e5c543d97ce5d9511617bb0e9ec7 100644 (file)
@@ -26,11 +26,11 @@ HOOK_CONFIG_SETTINGS="HOOK PRIVACY_EXTENSIONS"
 # Privacy Extensions are disabled by default
 PRIVACY_EXTENSIONS="off"
 
-function hook_check_config_settings() {
+hook_check_config_settings() {
        assert isbool PRIVACY_EXTENSIONS
 }
 
-function hook_create() {
+hook_create() {
        local zone="${1}"
        shift
 
@@ -53,7 +53,7 @@ function hook_create() {
        exit ${EXIT_OK}
 }
 
-function hook_up() {
+hook_up() {
        local zone=${1}
        shift
 
@@ -77,7 +77,7 @@ function hook_up() {
        exit ${EXIT_OK}
 }
 
-function hook_down() {
+hook_down() {
        local zone=${1}
        local config=${2}
        shift 2
@@ -93,7 +93,7 @@ function hook_down() {
        exit ${EXIT_OK}
 }
 
-function hook_status() {
+hook_status() {
        local zone=${1}
        local config=${2}
        shift 2