added clamav-dev for rar support

This commit is contained in:
schokostreuer
2020-01-31 23:47:00 +01:00
parent e6ba36266d
commit 87f7bfa0e3
2 changed files with 37 additions and 2 deletions

34
start.sh Normal file
View File

@@ -0,0 +1,34 @@
#!/bin/bash
function start_service() {
echo -n "Starting Service... "
/etc/init.d/kesl-supervisor start && echo "Done!" || echo "Failed!"
}
case "${1}" in
shell )
echo "stage: ${1}"
start_service
echo "Usage:"
cat /root/readme
/bin/bash
;;
version )
echo "stage: ${1}"
start_service
kesl-control -S --app-info | grep -v '^$'
;;
scan )
echo "stage: ${1}"
start_service
echo "Starting Scan of /data:"
kesl-control --scan-file --action Skip /data
echo "Found Threats"
kesl-control -E --query 'EventType == "ThreatDetected"'
;;
debug )
echo "stage: ${1}"
echo "Usage:"
cat /root/readme
/bin/bash
;;
esac