source: ogAgent-Git/linux/scripts/OGAgentTool-startup @ d3dd7cf

configure-ptt-chedecorare-oglive-methodsejecutarscript-b64fix-cfg2objfixes-winlgromero-filebeatmainmodulesnew-browserno-ptt-paramogadmcliogadmclient-statusogagent-jobsogagent-macosogcore1ogliveoglogoglog2override-moduleping1ping2ping3ping4py3-winpython3qndtestreport-progresstlsunification2unification3versionswindows-fixes
Last change on this file since d3dd7cf was 31159d4, checked in by Ramón M. Gómez <ramongomez@…>, 6 years ago

#914: Fix permissions for some OGAgent scripts.

  • Property mode set to 100755
File size: 294 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/bin/OGAgentTool
10fi
Note: See TracBrowser for help on using the repository browser.