#761: OGAGent checks for dobule slash before connecting to REST URL.
parent
4d89f8218e
commit
3c08c36716
|
@ -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
|
|
|
@ -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
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
FOLDER=/usr/share/OGAgent
|
|
||||||
|
|
||||||
cd $FOLDER
|
|
||||||
python OGAgentUser.py $@
|
|
|
@ -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
|
|
Loading…
Reference in New Issue