#!/bin/bash

set -e

####
## Functions
####

function enable_mod() {
    # This function runs the initial configuration the module needs once it is installed

    if ! groups clamav | grep -q e2guardian; then
      # Add clamav user to group e2guardian.
      usermod -aG e2guardian clamav
    fi
}


####
## Calls
####

enable_mod

exit 0
