mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
Update v-commander
This commit is contained in:
parent
a7def7b190
commit
6819f21c3e
1 changed files with 1 additions and 0 deletions
|
@ -274,6 +274,7 @@ do
|
|||
if [ "$answer" = 'dis spam' ] || [ "$answer" = 'DIS SPAM' ]; then
|
||||
echo "============================="
|
||||
echo "== disabling SpamAssassin"
|
||||
release=$(cat /etc/debian_version | tr "." "\n" | head -n1)
|
||||
if [ "$release" -lt 12 ]; then
|
||||
systemctl stop spamassassin.service
|
||||
systemctl disable spamassassin.service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue