summaryrefslogtreecommitdiff
path: root/src/appMain/core.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/appMain/core.sh')
-rw-r--r--src/appMain/core.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/appMain/core.sh b/src/appMain/core.sh
new file mode 100644
index 0000000000..6604368993
--- /dev/null
+++ b/src/appMain/core.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+DIR=$(dirname $0)
+
+EXTERNAL_POLICIES=false
+if [ "$2" = "true" ]; then
+ EXTERNAL_POLICIES=true
+fi
+$DIR/daemon.sh $1 $EXTERNAL_POLICIES