source: ogAgent-Git/oglive/scripts/OGAgentTool-startup @ e140d8d

oglive
Last change on this file since e140d8d was b8d05a7, checked in by Ramón M. Gómez <ramongomez@…>, 5 years ago

#750: Process to build OGAgent for ogLive package.

  • Property mode set to 100644
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.