summaryrefslogtreecommitdiffstats
path: root/admin/Sources/Clients/ogagent/macos/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Sources/Clients/ogagent/macos/scripts')
-rw-r--r--admin/Sources/Clients/ogagent/macos/scripts/es.opengnsys.ogagent.plist15
-rwxr-xr-xadmin/Sources/Clients/ogagent/macos/scripts/ogagent6
-rwxr-xr-xadmin/Sources/Clients/ogagent/macos/scripts/postinstall17
3 files changed, 0 insertions, 38 deletions
diff --git a/admin/Sources/Clients/ogagent/macos/scripts/es.opengnsys.ogagent.plist b/admin/Sources/Clients/ogagent/macos/scripts/es.opengnsys.ogagent.plist
deleted file mode 100644
index 5ec11fa5..00000000
--- a/admin/Sources/Clients/ogagent/macos/scripts/es.opengnsys.ogagent.plist
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
- <dict>
- <key>Label</key>
- <string>es.opengnsys.ogagent</string>
- <key>ProgramArguments</key>
- <array>
- <string>/usr/bin/ogagent</string>
- <string>start</string>
- </array>
- <key>RunAtLoad</key>
- <true/>
- </dict>
-</plist>
-
diff --git a/admin/Sources/Clients/ogagent/macos/scripts/ogagent b/admin/Sources/Clients/ogagent/macos/scripts/ogagent
deleted file mode 100755
index b139d7f2..00000000
--- a/admin/Sources/Clients/ogagent/macos/scripts/ogagent
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-FOLDER=/Applications/OGAgent.app
-
-cd $FOLDER
-python -m opengnsys.linux.OGAgentService $@
diff --git a/admin/Sources/Clients/ogagent/macos/scripts/postinstall b/admin/Sources/Clients/ogagent/macos/scripts/postinstall
deleted file mode 100755
index ebb2ca48..00000000
--- a/admin/Sources/Clients/ogagent/macos/scripts/postinstall
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env sh
-
-# Directories
-SRCDIR=$(dirname "$0")
-BINDIR=/usr/bin
-INITDIR=/Library/LaunchDaemons
-
-# Check if it needs to install Python dependencies:
-if ! which pip &>/dev/null; then
- easy_install pip
- pip install netifaces requests six
-fi
-
-# Copying files.
-cp $SRCDIR/ogagent $BINDIR
-cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR
-