]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/functions/functions.in
Remove the function keyword which is a bashism
[people/stevee/network.git] / src / functions / functions.in
index 61327d58e8e6d0b0197611fc422372c23eb3c649..873b6beacab5a7e5e00f811a781a5c4eb8e1d41b 100644 (file)
@@ -25,11 +25,11 @@ export PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/bin:/bin:${PATH}"
 
 INIT_FUNCTIONS=""
 
 
 INIT_FUNCTIONS=""
 
-function init_register() {
+init_register() {
        INIT_FUNCTIONS="${INIT_FUNCTIONS} $@"
 }
 
        INIT_FUNCTIONS="${INIT_FUNCTIONS} $@"
 }
 
-function init_run() {
+init_run() {
        local init
        for init in ${INIT_FUNCTIONS}; do
                ${init}
        local init
        for init in ${INIT_FUNCTIONS}; do
                ${init}