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

14 lines
211 B
Bash
Raw Normal View History

2018-11-09 01:14:57 +00:00
#!/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