#!/usr/bin/env bash # Copyright 1999-2024. WebPros International GmbH. All rights reserved. main() { local command="${1:?"Command must be specified as the first parameter"}" case "$command" in fix-permissions) chown psaadm:psaadm -R /usr/local/psa/var/modules/watchdog/ exit $? ;; drop-rkhunter) killall rkhunter || : exit 0 ;; *) echo "Unknown command: ${command}" >&2 exit 1 ;; esac } main "$@"