close Warning: Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.

source: ogAgent-Git/macos/scripts/OGAgentTool-startup @ e1af5ca

main
Last change on this file since e1af5ca was 676447c, checked in by ramon <ramongomez@…>, 9 years ago

#718: Preparar OGAgent para macOS a partir del código de Linux.

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5205 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 301 bytes
Line 
1#!/bin/sh
2
3# Simple hack to wait for systray to be present
4# Exec tool if not already runned by session manager
5ps -ef | grep "$USER" | grep -v grep | grep -v OGAgentTool-startup | grep 'OGAgentTool' -q
6# If not already running
7if [ $? -eq 1 ]; then
8    sleep 5
9    exec /usr/local/bin/OGAgentTool
10fi
Note: See TracBrowser for help on using the repository browser.