Skip to content

Instantly share code, notes, and snippets.

@aussielunix
Created March 4, 2013 00:30
Show Gist options
  • Save aussielunix/5079082 to your computer and use it in GitHub Desktop.
Save aussielunix/5079082 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
if [ $(/sbin/iptables -L INPUT | wc -l) -le 3 ]; then
exit 1
else
exit 0
fi
service { "ript":
enable => true,
status => "/usr/local/bin/ript-check.sh",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment