This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
magicka/magitoss.sh
2018-11-09 12:14:57 +11:00

14 lines
211 B
Bash
Executable File

#!/bin/bash
FILE=$(basename $0)
cd /opt/magicka/data/ftn
if [ "${FILE}" == "magitoss.sh" ]; then
/opt/magicka/bin/magimail toss
elif [ "${FILE}" == "magiscan.sh" ]; then
/opt/magicka/bin/magimail scan
fi