From a85307b3d3c76c6742336c1ee701a76f1cc030ec Mon Sep 17 00:00:00 2001
From: mrroman <mrroman@devsite.pl>
Date: Thu, 28 Dec 2023 21:28:38 +0000
Subject: [PATCH] Use ksh instead of sh in rc script

---
 README.md |   27 ++++++++++++++++++++++++++-
 1 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/README.md b/README.md
index 543d768..7f612e4 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,24 @@
-# vilain
+vilain
+======
+
 Mimic fail2ban with pf for OpenBSD.
 
 Inspired from http://www.vincentdelft.be/post/post_20161106
+
+Installation : 
+---------------
+
+Download the repository, then run
+
+	make install
+
+This will put `vilain` script in /usr/local/bin, `vilain.py` in
+/usr/local/sbin and add a rc script.
+
+Install python-3.*
+
+	pkg_add python-3.6.2
+
 
 In pf.conf, add according to your configuration : 
 
@@ -16,3 +33,11 @@
 
     pfctl -t vilain_bruteforce -T show
 
+
+Run vilain
+---------------
+
+Run vilain manually or via rc script : 
+
+	rcctl enable vilain
+	rcctl start vilain

--
Gitblit v1.9.3