summaryrefslogtreecommitdiff
path: root/recipes/piccontrol/files/configlocation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/piccontrol/files/configlocation.patch')
-rw-r--r--recipes/piccontrol/files/configlocation.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/piccontrol/files/configlocation.patch b/recipes/piccontrol/files/configlocation.patch
new file mode 100644
index 0000000000..08cb60096b
--- /dev/null
+++ b/recipes/piccontrol/files/configlocation.patch
@@ -0,0 +1,13 @@
+diff --git a/piccontrol.c.orig b/piccontrol.c
+index 6c2fba3..e29eb33 100644
+--- a/piccontrol.c.orig
++++ b/piccontrol.c
+@@ -231,7 +231,7 @@ static int pic_lua_setup()
+ lua_register(lua, "register", register_module);
+ lua_register(lua, "piccmd", run_command_lua);
+
+- luaL_dofile(lua, "config.lua");
++ luaL_dofile(lua, "/etc/piccontrol.conf");
+
+ return 0;
+ }