Commit 5e4f7d21 authored by Mika Havela's avatar Mika Havela
Browse files

Updating makefile and changeing the way logfiles are fetched.

git-svn-id: svn://svn.alpinelinux.org/acf/ipsec-tools/trunk@1010 ab2d0c66-481e-0410-8bed-d214d4d58bed
parent 814afcfd
APP_NAME=ipsec-tools
PACKAGE=acf-$(APP_NAME)
VERSION=0.3.0
VERSION=0.3.1
APP_DIST=\
ipsectools-controller.lua \
......
......@@ -250,7 +250,7 @@ function update_filecontent2 (self, modifications)
end
function get_logfile ()
local file = {}
local cmdtxt = "cat /var/log/messages | grep " .. processname
local cmdtxt = "grep " .. processname .. " /var/log/messages"
local cmd, error = io.popen(cmdtxt ,r)
local cmdoutput = cmd:read("*a")
cmd:close()
......
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