]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/functions/functions.hostapd
Remove the function keyword which is a bashism
[people/stevee/network.git] / src / functions / functions.hostapd
index d98bf9fe899471d26b89e2cba365329e4b8e911f..f7bf2fa58bc343ec379a5acc3ecfe52e8a0d1fd7 100644 (file)
@@ -21,7 +21,7 @@
 
 HOSTAPD_CONTROL_INTERFACE_DIR="/run/hostapd/ctrl"
 
-function hostapd_config_write() {
+hostapd_config_write() {
        local device=${1}
        assert isset device
 
@@ -191,7 +191,7 @@ function hostapd_config_write() {
        return ${EXIT_OK}
 }
 
-function hostapd_start() {
+hostapd_start() {
        local device=${1}
        assert isset device
 
@@ -208,7 +208,7 @@ function hostapd_start() {
        return ${EXIT_OK}
 }
 
-function hostapd_stop() {
+hostapd_stop() {
        local device=${1}
        assert isset device