1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-05 09:17:54 +03:00
openuds/legacy_actors/linux/scripts/UDSActorTool-startup

10 lines
297 B
Plaintext
Raw Normal View History

#!/bin/sh
# Simple hack to wait for systray to be present
2014-12-02 23:42:14 +03:00
# Exec tool if not already runned by session manager
ps -ef | grep "$USER" | grep -v grep | grep -v UDSActorTool-startup | grep 'UDSActorTool' -q
2014-12-02 23:42:14 +03:00
# If not already running
if [ $? -eq 1 ]; then
sleep 5
2014-12-02 23:42:14 +03:00
exec /usr/bin/UDSActorTool
fi