diff options
author | Ben Howard <ben.howard@ubuntu.com> | 2012-06-22 09:10:22 -0600 |
---|---|---|
committer | usd-importer <ubuntu-server@lists.ubuntu.com> | 2012-07-13 13:33:37 +0000 |
commit | 9753640ddf8ca3300732673aa71c4fd62c8098bc (patch) | |
tree | 453a9ee670e8065a5446a55ee8f8f63d5ebe40de | |
parent | 9cb6642db12e07ff41df95f5ee36865d91b59991 (diff) | |
download | vyos-walinuxagent-9753640ddf8ca3300732673aa71c4fd62c8098bc.tar.gz vyos-walinuxagent-9753640ddf8ca3300732673aa71c4fd62c8098bc.zip |
Enablement/disablement via /etc/default/waagent
Gbp-Pq: 001_ubuntu_agent_startup.patch.
-rw-r--r-- | waagent | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1979,6 +1979,13 @@ author "Ben Howard <ben.howard@canonical.com>" start on (filesystem and started rsyslog) pre-start script + + [ -r /etc/default/walinuxagent ] && . /etc/default/walinuxagent + + if [ "$WALINUXAGENT_ENABLED" != "1" ]; then + exit 1 + fi + if [ ! -x /usr/sbin/waagent ]; then exit 1 fi |