From b9517664677687808d58e665ed2eed3f731a85fb Mon Sep 17 00:00:00 2001 From: Simon Rowe Date: Tue, 17 Sep 2019 10:31:41 +0100 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni (cherry picked from commit 3d104ce719a11ff8fd562f5447d416c1e010878b) Signed-off-by: Peter Korsgaard --- package/openvmtools/S10vmtoolsd | 2 ++ 1 file changed, 2 insertions(+) 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: "