summarylogtreecommitdiffstats
path: root/pulledpork.install
blob: bb88fdcd5160526dca15acb2138a3018e43cc085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
post_install() {
cat << _EOF  

>>> You may want to ADJUST files in /etc/pulledpork/ directory

>>> Default config is set up for emergingthreats open rules

>>> By default rules auto-update every week if
>>>   file /etc/snort/rules/snort.rules exists

>>> To use these rules in snort, you must include snort.rules
>>> file in your snort.conf (if not already setup to be so)

_EOF
}

post_upgrade() {
  if (( $(vercmp $2 0.7.3-2) < 0)); then
    systemctl --now enable pulledpork.timer
  fi
}