summaryrefslogtreecommitdiff
path: root/packages/piccontrol/files/configlocation.patch
blob: 08cb60096beb69ac5921640ce3081f82b157a25d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
 }