mirror of
https://github.com/clearlinux/WALinuxAgent.git
synced 2026-09-05 21:31:41 +00:00
17 lines
299 B
Bash
17 lines
299 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# If upgrading from package version
|
|
# with unmanaged upstart configuration
|
|
# and agent stop the agent and remove
|
|
# the upstart configuration.
|
|
if [ -f /etc/init/waagent.conf ]; then
|
|
stop waagent 2>&1 > /dev/null || true
|
|
rm -f /etc/init/waagent.conf
|
|
fi
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|