Commit 9abbe1a8 authored by Mika Havela's avatar Mika Havela

Updating makefile and changeing the way logfiles are fetched.

git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@1014 ab2d0c66-481e-0410-8bed-d214d4d58bed
parent 5ab26732
APP_NAME=openntpd
PACKAGE=acf-$(APP_NAME)
VERSION=0.3.2
VERSION=0.3.3
APP_DIST=\
openntpd* \
......
......@@ -358,7 +358,7 @@ end
function get_logfile ()
local file = {}
local cmdtxt = "cat /var/log/messages | grep ntpd"
local cmdtxt = "grep ".. processname .. " /var/log/messages"
local cmd, error = io.popen(cmdtxt ,r)
local cmdoutput = cmd:read("*a")
cmd:close()
......
#CAT GROUP/DESC TAB ACTION
Networking 20NTP Status status
Networking 20NTP Config config
Networking 20NTP Expert expert
Networking 20NTP Logfile logfile
Networking 20NTP(openntpd) Status status
Networking 20NTP(openntpd) Config config
Networking 20NTP(openntpd) Expert expert
Networking 20NTP(openntpd) Logfile logfile
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment