From bb985e1143215b98ae0534358491035d53c24505 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Mon, 18 Dec 2023 11:37:36 -0500 Subject: [PATCH] Updates for compatibility with newer OpenWrt versions. --- net/goeap_proxy/files/etc/init.d/goeap_proxy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/goeap_proxy/files/etc/init.d/goeap_proxy b/net/goeap_proxy/files/etc/init.d/goeap_proxy index 7d3943a..24bc248 100644 --- a/net/goeap_proxy/files/etc/init.d/goeap_proxy +++ b/net/goeap_proxy/files/etc/init.d/goeap_proxy @@ -22,8 +22,8 @@ start_service() config_get router global router config_get_bool ignore_logoff global 'ignore_logoff' '0' - local if_wan=$(uci get "network.${wan}.ifname") - local if_router=$(uci get "network.${router}.ifname") + local if_wan=$(uci get "network.${wan}.device") + local if_router=$(uci get "network.${router}.device") procd_open_instance # attempt to restart every 30 seconds, the eap proxy for internet connectivity @@ -31,8 +31,8 @@ start_service() procd_set_param stdout 1 procd_set_param stderr 1 procd_set_param command $PROG - procd_append_param command "${if_wan}" - procd_append_param command "${if_router}" + procd_append_param command "-if-wan" "${if_wan}" + procd_append_param command "-if-router" "${if_router}" if [ $ignore_logoff != "0" ]; then procd_append_param command -ignore-logoff fi