From d33304a377e1d677582c76f15a1269ef0e61d312 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e3d2a48acd6bc1cd4647a81f0577d5b2fc1063ff Author: max_10 Date: 2020-07-13 (Mon, 13 Jul 2020) Origin message was: ------------------ - Y_Settings_glcd.yhtm: fix neutrino.conf pfad ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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; }