aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/etc/profile.d/xds-agent.sh
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-17 00:04:36 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-17 00:46:57 +0200
commitfa1a0fa5e47260349d2da761b499223d11324b58 (patch)
treef5dc6092e40da84075746a5aa1ab8e7d6ac8bc8d /conf.d/etc/profile.d/xds-agent.sh
parent777204d72f9d184e4416f943d8a1a38051dfb5ae (diff)
Add xds-agent user systemd service file and install
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d/etc/profile.d/xds-agent.sh')
-rw-r--r--conf.d/etc/profile.d/xds-agent.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.d/etc/profile.d/xds-agent.sh b/conf.d/etc/profile.d/xds-agent.sh
new file mode 100644
index 0000000..78eff4f
--- /dev/null
+++ b/conf.d/etc/profile.d/xds-agent.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+#---------- AGL xds-agent tool options Start ---------"
+[ ":${PATH}:" != *":%%XDS_INSTALL_BIN_DIR%%:"* ] && export PATH=%%XDS_INSTALL_BIN_DIR%%:${PATH}