main
4.0.0
Last change
on this file 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 |
---|
5 | ps -ef | grep "$USER" | grep -v grep | grep -v OGAgentTool-startup | grep 'OGAgentTool' -q |
---|
6 | # If not already running |
---|
7 | if [ $? -eq 1 ]; then |
---|
8 | sleep 5 |
---|
9 | exec /usr/bin/OGAgentTool |
---|
10 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.