summaryrefslogtreecommitdiff
path: root/community/sshguard/sshguard.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
commitcebf33d7109e0157a80f34d6136e212f0a28d274 (patch)
treea6464302c970f72581105b50ff0896e1f56def3d /community/sshguard/sshguard.install
parent1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff)
parent5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/sshguard/sshguard.install')
-rw-r--r--community/sshguard/sshguard.install14
1 files changed, 10 insertions, 4 deletions
diff --git a/community/sshguard/sshguard.install b/community/sshguard/sshguard.install
index 0821c61e0..486e55fbd 100644
--- a/community/sshguard/sshguard.install
+++ b/community/sshguard/sshguard.install
@@ -1,8 +1,14 @@
post_install() {
- mkdir -p /var/db/sshguard
- echo "-- You should add chain to your firewall:"
+ mkdir -p var/db/sshguard
+ echo "-- You should add chains to your firewall:"
echo "-- iptables -N sshguard"
echo "-- iptables -A INPUT -p tcp --dport 22 -j sshguard"
- echo "-- For more information, see http://www.sshguard.net/doc/"
- /bin/true
+ echo "-- ip6tables -N sshguard"
+ echo "-- ip6tables -A INPUT -p tcp --dport 22 -j sshguard"
+ echo "-- touch /etc/iptables/ip6tables.rules if you don't use IPv6"
+ echo "-- For more information, see https://wiki.archlinux.org/index.php/Sshguard"
+}
+
+post_upgrade() {
+ echo "-- touch /etc/iptables/ip6tables.rules if you don't use IPv6"
}