From bffe7d1f9cffcfbdb6e922f089360dc2a35975cb Mon Sep 17 00:00:00 2001 From: Johannes Rudolph <johannes.rudolph@ffnw.de> Date: Mon, 20 Mar 2017 08:07:24 +0100 Subject: [PATCH] hoodselector: fix typo --- hoodselector/luasrc/usr/sbin/hoodselector | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hoodselector/luasrc/usr/sbin/hoodselector b/hoodselector/luasrc/usr/sbin/hoodselector index ed72d06..fe6028c 100755 --- a/hoodselector/luasrc/usr/sbin/hoodselector +++ b/hoodselector/luasrc/usr/sbin/hoodselector @@ -100,7 +100,7 @@ else end -local HOODSTATIC = 0 +local hoodstatic = 0 local FILE = uci:get('hoodselector', 'hoodselector', 'hoodfile') if FILE == nil then @@ -607,8 +607,8 @@ local function saveHoodToConfig(hoodname) uci:section('hoodselector', 'settings', 'hoodselector', { hood = hoodname, hoodfile = FILE, - static = HOODSTATIC, - enabled = HOODSELECTORENABLED + static = hoodstatic, + enabled = hoodselectorenabled }) uci:save('hoodselector') uci:commit('hoodselector') -- GitLab