]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/functions/functions.radvd
Remove the function keyword which is a bashism
[people/stevee/network.git] / src / functions / functions.radvd
index 7970a54b2f296b489fe6aee8c1fb6296f480cc6d..21fd1e474035a5844d514a635062b54367626827 100644 (file)
@@ -21,7 +21,7 @@
 
 RADVD_CONFIGFILE="/etc/radvd.conf"
 
-function radvd_update() {
+radvd_update() {
        # (Re-)write the configuration file
        radvd_write_config
 
@@ -29,7 +29,7 @@ function radvd_update() {
        service_reload radvd
 }
 
-function radvd_write_config() {
+radvd_write_config() {
        config_header "radv daemon configuration file" > ${RADVD_CONFIGFILE}
 
        # Write the configuration for all zones.
@@ -42,7 +42,7 @@ function radvd_write_config() {
        return ${EXIT_OK}
 }
 
-function __radvd_config_interface() {
+__radvd_config_interface() {
        local zone=${1}
        assert isset zone
 
@@ -104,7 +104,7 @@ function __radvd_config_interface() {
        print
 }
 
-function __radvd_config_dns() {
+__radvd_config_dns() {
        local zone=${1}
 
        # Do nothing, when this option is not enabled.