From: Simon Rowe Date: Tue, 17 Sep 2019 09:31:41 +0000 (+0100) Subject: package/openvmtools: source default file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d104ce719a11ff8fd562f5447d416c1e010878b;p=buildroot.git 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 --- 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: "