]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/functions/functions.aiccu
Remove the function keyword which is a bashism
[people/stevee/network.git] / src / functions / functions.aiccu
index f08bb6883f61245cd8988213bb24ee394ac0bfb1..a247503e2ae1eaeaeac2ce2ae4eaf4cf14301df1 100644 (file)
@@ -22,7 +22,7 @@
 # Define protocols which are supported by aiccu.
 AICCU_SUPPORTED_PROTOCOLS="tic tsp l2tp"
 
 # Define protocols which are supported by aiccu.
 AICCU_SUPPORTED_PROTOCOLS="tic tsp l2tp"
 
-function aiccu_start() {
+aiccu_start() {
        local device=${1}
        assert isset device
 
        local device=${1}
        assert isset device
 
@@ -40,7 +40,7 @@ function aiccu_start() {
        return ${EXIT_OK}
 }
 
        return ${EXIT_OK}
 }
 
-function aiccu_stop() {
+aiccu_stop() {
        local device=${1}
        assert isset device
 
        local device=${1}
        assert isset device
 
@@ -48,7 +48,7 @@ function aiccu_stop() {
        service_stop "aiccu@${device}.service"
 }
 
        service_stop "aiccu@${device}.service"
 }
 
-function aiccu_write_config() {
+aiccu_write_config() {
        local device=${1}
        local file=${2}
        shift 2
        local device=${1}
        local file=${2}
        shift 2