blob: bb3a848ec5a67878a3b17f902822ba200144928a (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/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
|