1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00
openuds/actors/linux/scripts/UDSActorTool-startup
Adolfo Gómez García 2159e0f29d Added support for OpenSuse also (and created a build script)
Fixed up & tuning of actor
2014-12-04 12:49:40 +01:00

10 lines
297 B
Bash

#!/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 UDSActorTool-startup | grep 'UDSActorTool' -q
# If not already running
if [ $? -eq 1 ]; then
sleep 5
exec /usr/bin/UDSActorTool
fi