From 9bc12c9f7c8da21730cd7740edcce2613d66f4b8 Mon Sep 17 00:00:00 2001 From: max_10 Date: Mon, 13 Jul 2020 15:30:11 +0200 Subject: [PATCH] - Y_Settings_glcd.yhtm: fix neutrino.conf pfad --- data/y-web/Y_Settings_glcd.yhtm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/y-web/Y_Settings_glcd.yhtm b/data/y-web/Y_Settings_glcd.yhtm index b06da8d8e..7e60454be 100644 --- a/data/y-web/Y_Settings_glcd.yhtm +++ b/data/y-web/Y_Settings_glcd.yhtm @@ -13,16 +13,16 @@ function do_init() { var val = ""; - obj_set_radio_value('glcd_enable', "{=ini-get:/etc/neutrino/config/neutrino.conf;glcd_enable;1~open=}"); - obj_set_radio_value('glcd_inverse', "{=ini-get:/etc/neutrino/config/neutrino.conf;glcd_inverse;0~cache=}"); + obj_set_radio_value('glcd_enable', "{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_enable;1~open=}"); + obj_set_radio_value('glcd_inverse', "{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_inverse;0~cache=}"); - val = "{=ini-get:/etc/neutrino/config/neutrino.conf;glcd_brightness_dim;5~cache=}"; + val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_brightness_dim;5~cache=}"; document.f.glcd_brightness_dim.value = val; - val = "{=ini-get:/etc/neutrino/config/neutrino.conf;glcd_brightness_dim_time;15~cache=}"; + val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_brightness_dim_time;15~cache=}"; document.f.glcd_.brightness_dim_time.value = val; - val = "{=ini-get:/etc/neutrino/config/neutrino.conf;glcd_brightness;7~cache=}"; + val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_brightness;7~cache=}"; document.f.glcd_brightness.value = val; - val = "{=ini-get:/etc/neutrino/config/neutrino.conf;glcd_brightness_standby;1~cache=}"; + val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_brightness_standby;1~cache=}"; document.f.glcd_brightness_standby.value = val; }