summaryrefslogtreecommitdiffstats
path: root/syslog-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'syslog-model.lua')
-rw-r--r--syslog-model.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/syslog-model.lua b/syslog-model.lua
index 7391cfe..af41c70 100644
--- a/syslog-model.lua
+++ b/syslog-model.lua
@@ -1,9 +1,10 @@
module(..., package.seeall)
-require("pidof")
+--require("pidof")
require("split")
-- we actually need root permissions to get the process list
+--[[
priv = {}
function priv.is_enabled()
return (pidof.pidof("syslogd"))
@@ -21,7 +22,7 @@ function priv.enable(opts)
end
os.system("/etc/init.d/syslogd restart; rc_add -k -s 20 syslog")
end
-
+--]]
-- this func does not need privileges
function readopts()