diff --git a/shell_ntfy_remote_shutdown.sh b/shell_ntfy_remote_shutdown.sh index a9751a6..ff0f022 100644 --- a/shell_ntfy_remote_shutdown.sh +++ b/shell_ntfy_remote_shutdown.sh @@ -28,4 +28,5 @@ curl -s -X POST "$NTFY_URL" \ }" # Server herunterfahren -sshpass -p "$SSH_PASSWORD" ssh -o "StrictHostKeyChecking=no" "$SSH_USER@$SSH_HOST" "poweroff" \ No newline at end of file +sshpass -p "$SSH_PASSWORD" ssh -o "StrictHostKeyChecking=no" "$SSH_USER@$SSH_HOST" "poweroff" +sshpass -p "$SSH_PASSWORD" ssh -o "StrictHostKeyChecking=no" "$SSH_USER@$SSH_HOST" "shutdown" \ No newline at end of file