mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
33 lines
522 B
Text
33 lines
522 B
Text
pre_install() {
|
|
/bin/true
|
|
}
|
|
|
|
post_install() {
|
|
echo "-- You should add chain to your firewall:"
|
|
echo "-- iptables -N sshguard"
|
|
echo "-- iptables -A INPUT -p tcp --dport 22 -j sshguard"
|
|
echo "-- Then you may start sshguard with:"
|
|
echo "-- tail -n0 -f /var/log/auth.log | /usr/sbin/sshguard"
|
|
echo "-- For more information, see README in sources."
|
|
/bin/true
|
|
}
|
|
|
|
pre_upgrade() {
|
|
/bin/true
|
|
}
|
|
|
|
post_upgrade() {
|
|
/bin/true
|
|
}
|
|
|
|
pre_remove() {
|
|
/bin/true
|
|
}
|
|
|
|
post_remove() {
|
|
/bin/true
|
|
}
|
|
|
|
op=$1
|
|
shift
|
|
$op $*
|