[packages/nagios-plugin-check_iptables] version 0.2; unhardcode tool paths
    glen 
    glen at pld-linux.org
       
    Tue Apr  4 14:13:11 CEST 2017
    
    
  
commit 164127df3e9069150b8609de9519314948036ce2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Apr 4 15:12:45 2017 +0300
    version 0.2; unhardcode tool paths
 check_iptables.sh                 | 4 ++--
 nagios-plugin-check_iptables.spec | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/nagios-plugin-check_iptables.spec b/nagios-plugin-check_iptables.spec
index d704b48..b7fb027 100644
--- a/nagios-plugin-check_iptables.spec
+++ b/nagios-plugin-check_iptables.spec
@@ -1,8 +1,8 @@
 %define		plugin	check_iptables
 Summary:	Nagios plugin to check count of iptables rules
 Name:		nagios-plugin-%{plugin}
-Version:	0.1
-Release:	5
+Version:	0.2
+Release:	1
 License:	GPL v2
 Group:		Networking
 Source0:	%{plugin}.sh
diff --git a/check_iptables.sh b/check_iptables.sh
index d10466d..748edbd 100755
--- a/check_iptables.sh
+++ b/check_iptables.sh
@@ -8,8 +8,8 @@ ARGS="$*"
 
 . $PROGPATH/utils.sh
 
-iptables=/usr/sbin/iptables
-sudo=/usr/bin/sudo
+iptables=iptables
+sudo=sudo
 chain=INPUT
 table=filter
 verbose=0
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_iptables.git/commitdiff/164127df3e9069150b8609de9519314948036ce2
    
    
More information about the pld-cvs-commit
mailing list