added shell entrypoint

This commit is contained in:
Márcio Fernandes
2025-01-24 23:38:07 +00:00
parent f4f19f689b
commit 8e33c44504
3 changed files with 16 additions and 5 deletions
+9 -2
View File
@@ -1,3 +1,10 @@
#!bin/bash
#!/bin/bash
if [[ "$MODE" == "shell" ]]; then
"$@"
else
proxmox-backup-client "$@"
fi
proxmox-backup-client "$@"