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>
(cherry picked from commit 3d104ce719)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Simon Rowe 2019-09-17 10:31:41 +01:00 committed by Peter Korsgaard
parent b3e39a7543
commit b951766467

View File

@ -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: "