[Buildroot] [git commit branch/2019.08.x] package/openvmtools: source default file
Peter Korsgaard
peter at korsgaard.com
Thu Sep 26 08:49:49 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=dfd726986094dd38cbe00c6ae34be0c5881d8549
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.08.x
In the SYSV init script allow /etc/default/vmtoolsd to override $ARGS
(if it present)
Signed-off-by: Simon Rowe <simon.rowe at citrix.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 3d104ce719a11ff8fd562f5447d416c1e010878b)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
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: "
More information about the buildroot
mailing list