From 80eea7142d0ea994a3064a2394c4ed738b1cf94a Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Sat, 9 Nov 2019 16:00:46 +1100 Subject: [PATCH] made init less syslog-spammy --- exec/init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exec/init.lua b/exec/init.lua index d1a24f0..897240d 100644 --- a/exec/init.lua +++ b/exec/init.lua @@ -9,7 +9,6 @@ local function loadlist() local f = io.open("/boot/cfg/init.txt","rb") if not f then return false end for line in f:read("*a"):gmatch("[^\r\n]+") do - dprint(line) pids[line] = -1 end f:close() @@ -18,7 +17,7 @@ loadlist() while true do for k,v in pairs(pids) do if not os.taskInfo(v) then - dprint("Starting service "..k) + syslog("Starting service "..k) pids[k] = os.spawnfile("/boot/service/"..k) end end