From: Roman Bazalevsky Date: Fri, 16 Nov 2018 18:45:08 +0000 (+0300) Subject: Почищен код определения ID устройства. X-Git-Url: https://git.rvb.name/weathermon.git/commitdiff_plain/c341b10443c18115939e3431c8f762dbecdef81c Почищен код определения ID устройства. --- diff --git a/bin/weather-display b/bin/weather-display index ef210ff..1c6a6fc 100755 --- a/bin/weather-display +++ b/bin/weather-display @@ -152,8 +152,6 @@ if not alarmstr_len then end alarmstr_len=tonumber(alarmstr_len) -web_id = uci.get(config_name,"web","devid") - while true do onoff = not onoff diff --git a/bin/weathermon-iio b/bin/weathermon-iio index cbf21f0..f6e979f 100755 --- a/bin/weathermon-iio +++ b/bin/weathermon-iio @@ -173,7 +173,7 @@ if not config_name then config_name = "weathermon" end -web_id = uci.get(config_name,"web","devid") +web_id = get_devid(config_name) parameters = init(config_name)