aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-wam/wam/files/WebAppMgrCli
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-wam/wam/files/WebAppMgrCli')
-rwxr-xr-xrecipes-wam/wam/files/WebAppMgrCli9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-wam/wam/files/WebAppMgrCli b/recipes-wam/wam/files/WebAppMgrCli
new file mode 100755
index 000000000..4312e0472
--- /dev/null
+++ b/recipes-wam/wam/files/WebAppMgrCli
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+WAM_CLI_EXE="/usr/bin/WebAppMgr"
+
+if [ "$WAM_IS_CEF" = true ] ; then
+ WAM_CLI_EXE="/usr/share/wam/WebAppMgrCli"
+fi
+
+exec $WAM_CLI_EXE $@