added shell entrypoint

This commit is contained in:
Márcio Fernandes committed 2025-01-24 23:38:07 +00:00
1 parent f4f19f689b
commit 8e33c44504
3 files changed
+16 -5

No files matched your search

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