aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Simon Rowe <simon.rowe@citrix.com>2019-09-17 10:31:41 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-09-17 21:29:07 +0200
commit3d104ce719a11ff8fd562f5447d416c1e010878b (patch)
treef4288364bea4ff647cfc58ceba1df4bda484c678
parent5c9e9ef100875abc4c769eff4ed37b1415b0bd72 (diff)
downloadbuildroot-3d104ce719a11ff8fd562f5447d416c1e010878b.tar.gz
buildroot-3d104ce719a11ff8fd562f5447d416c1e010878b.tar.bz2
package/openvmtools: source default file
In the SYSV init script allow /etc/default/vmtoolsd to override $ARGS (if it present) Signed-off-by: Simon Rowe <simon.rowe@citrix.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/openvmtools/S10vmtoolsd2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/openvmtools/S10vmtoolsd b/package/openvmtools/S10vmtoolsd
index 6afb9ca08a..5fdb5682f6 100644
--- a/package/openvmtools/S10vmtoolsd
+++ b/package/openvmtools/S10vmtoolsd
@@ -7,6 +7,8 @@ EXEC="/usr/bin/vmtoolsd"
ARGS="-b"
PID="/var/run/vmtoolsd.pid"
+[ -r /etc/default/vmtoolsd ] && . /etc/default/vmtoolsd
+
case "$1" in
start)
printf "Starting vmtoolsd: "