blob: 6d60f11d51e67f05d7a7a603a51b1e2193ba3b6c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
#shellcheck disable=SC2249
case $2 in
"DEINSTALL")
# on pfsense, the service is not "enabled" so status and stop would fail
service crowdsec onestatus 2>/dev/null && touch /var/run/crowdsec.running
service crowdsec onestop 2>/dev/null || :
;;
esac
|