summaryrefslogtreecommitdiffstats
path: root/build/entrypoint
diff options
context:
space:
mode:
Diffstat (limited to 'build/entrypoint')
-rwxr-xr-xbuild/entrypoint35
1 files changed, 35 insertions, 0 deletions
diff --git a/build/entrypoint b/build/entrypoint
new file mode 100755
index 00000000..bafb76e9
--- /dev/null
+++ b/build/entrypoint
@@ -0,0 +1,35 @@
+#!/bin/sh -e
+
+cmd=${1:-""}
+
+case ${cmd} in
+ "mco")
+ ./orchestrator
+ ;;
+
+ "ncm")
+ ./ncm
+ ;;
+
+ "dcm")
+ ./dcm
+ ;;
+
+ "rsync")
+ ./rsync
+ ;;
+
+ "ovnaction")
+ ./ovnaction
+ ;;
+
+ "clm")
+ ./clm
+ ;;
+
+ *)
+ echo "invalid command ${cmd}"
+ sleep infinity
+
+esac
+