summaryrefslogtreecommitdiffstats
path: root/admin/Sources/Clients/ogagent/linux/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Sources/Clients/ogagent/linux/scripts')
-rwxr-xr-xadmin/Sources/Clients/ogagent/linux/scripts/OGAgentTool14
-rwxr-xr-xadmin/Sources/Clients/ogagent/linux/scripts/OGAgentTool-startup10
-rwxr-xr-xadmin/Sources/Clients/ogagent/linux/scripts/ogagent14
3 files changed, 0 insertions, 38 deletions
diff --git a/admin/Sources/Clients/ogagent/linux/scripts/OGAgentTool b/admin/Sources/Clients/ogagent/linux/scripts/OGAgentTool
deleted file mode 100755
index da91704f..00000000
--- a/admin/Sources/Clients/ogagent/linux/scripts/OGAgentTool
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-for p in python python2; do
- [ -z "$PYTHON" ] && [ $($p -c 'import sys; print(sys.version_info[0])') -eq 2 ] && PYTHON=$p
-done
-if [ -z "$PYTHON" ]; then
- echo "ERROR: OGAgent needs Python 2" &>2
- exit 1
-fi
-
-FOLDER=/usr/share/OGAgent
-
-cd $FOLDER
-$PYTHON OGAgentUser.py $@
diff --git a/admin/Sources/Clients/ogagent/linux/scripts/OGAgentTool-startup b/admin/Sources/Clients/ogagent/linux/scripts/OGAgentTool-startup
deleted file mode 100755
index bb3a848e..00000000
--- a/admin/Sources/Clients/ogagent/linux/scripts/OGAgentTool-startup
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# Simple hack to wait for systray to be present
-# Exec tool if not already runned by session manager
-ps -ef | grep "$USER" | grep -v grep | grep -v OGAgentTool-startup | grep 'OGAgentTool' -q
-# If not already running
-if [ $? -eq 1 ]; then
- sleep 5
- exec /usr/bin/OGAgentTool
-fi \ No newline at end of file
diff --git a/admin/Sources/Clients/ogagent/linux/scripts/ogagent b/admin/Sources/Clients/ogagent/linux/scripts/ogagent
deleted file mode 100755
index 155af678..00000000
--- a/admin/Sources/Clients/ogagent/linux/scripts/ogagent
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-for p in python python2; do
- [ -z "$PYTHON" ] && [ $($p -c 'import sys; print(sys.version_info[0])') -eq 2 ] && PYTHON=$p
-done
-if [ -z "$PYTHON" ]; then
- echo "ERROR: OGAgent needs Python 2" &>2
- exit 1
-fi
-
-FOLDER=/usr/share/OGAgent
-
-cd $FOLDER
-$PYTHON -m opengnsys.linux.OGAgentService $@