#761: OGAGent checks for dobule slash before connecting to REST URL.

oglive^2
Ramón M. Gómez 2019-04-29 10:48:33 +02:00
parent 4d89f8218e
commit 3c08c36716
4 changed files with 0 additions and 33 deletions

View File

@ -1,5 +0,0 @@
# Automatically added by dh_installinit
if [ -x "/etc/init.d/ogagent" ]; then
update-rc.d ogagent defaults >/dev/null || exit $?
fi
# End automatically added section

View File

@ -1,12 +0,0 @@
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
update-rc.d ogagent remove >/dev/null
fi
# In case this system is running systemd, we make systemd reload the unit files
# to pick up changes.
if [ -d /run/systemd/system ] ; then
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section

View File

@ -1,6 +0,0 @@
#!/bin/sh
FOLDER=/usr/share/OGAgent
cd $FOLDER
python OGAgentUser.py $@

View File

@ -1,10 +0,0 @@
#!/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