package/openvmtools: source default file
authorSimon Rowe <simon.rowe@citrix.com>
Tue, 17 Sep 2019 09:31:41 +0000 (10:31 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 17 Sep 2019 19:29:07 +0000 (21:29 +0200)
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>
package/openvmtools/S10vmtoolsd

index 6afb9ca08ac09f523d061a4515f3e94ad015b060..5fdb5682f6191bd71694eb7d266ec388b82ef79e 100644 (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: "