#!/bin/bash

source "/etc/asl/config"
export LANG="en_US.UTF-8"

if [ "$CONFIGURED" ==  "yes" ]; then

  # Automatic Updates
  if [ "$AUTOMATIC_UPDATES" ==  "monthly" ]; then
    /var/asl/bin/aum -u >/dev/null 2>&1
  fi

else
  echo "Error: ASL has not been configured"
  exit 1
fi


