]> git.pld-linux.org Git - packages/nagios-plugin-check_iptables.git/commitdiff
version 0.2; unhardcode tool paths auto/th/nagios-plugin-check_iptables-0.2-1
authorElan Ruusamäe <glen@delfi.ee>
Tue, 4 Apr 2017 12:12:45 +0000 (15:12 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 4 Apr 2017 12:12:45 +0000 (15:12 +0300)
check_iptables.sh
nagios-plugin-check_iptables.spec

index d10466de90d8a3258fbf8013d1d4486dd875732b..748edbd0f445022f21ff3c3a23eab9f0486dcc5c 100755 (executable)
@@ -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
index d704b48dc67af769ab822de83a5bc39fbb0f4bb3..b7fb0271aa1f97c730fdf0a67829e17848647fab 100644 (file)
@@ -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
This page took 0.13943 seconds and 4 git commands to generate.