added shell entrypoint

This commit is contained in:
2025-01-24 23:38:07 +00:00
parent f4f19f689b
commit 8e33c44504
3 changed files with 16 additions and 5 deletions

11
pbsclient/docker/scripts/entrypoint.sh Normal file → Executable file
View File

@@ -1,3 +1,10 @@
#!bin/bash
#!/bin/bash
if [[ "$MODE" == "shell" ]]; then
"$@"
else
proxmox-backup-client "$@"
fi
proxmox-backup-client "$@"