diff options
Diffstat (limited to 'shorewall-model.lua')
-rw-r--r-- | shorewall-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shorewall-model.lua b/shorewall-model.lua index ca26ca8..311ad86 100644 --- a/shorewall-model.lua +++ b/shorewall-model.lua @@ -23,7 +23,7 @@ end function check_config () check = nil check = {} - local f,err = io.popen("/etc/init.d/shorewall check") + local f,err = io.popen("/bin/echo -n '>> Check starts at: ';/bin/date; /bin/echo; /etc/init.d/shorewall check; /bin/echo; /bin/echo -n '>> Check stops at: '; /bin/date;") check.result = f:read("*a") f:close() check["error"]=err |