siproxd: add shell helper function to build config file
authorguidosarducci <guidosarducci@users.noreply.github.com>
Mon, 19 Jun 2017 01:55:19 +0000 (18:55 -0700)
committerguidosarducci <guidosarducci@users.noreply.github.com>
Sun, 18 Mar 2018 10:37:51 +0000 (03:37 -0700)
commit00a66d16fa2523b2af0caed8fa826d695c11193f
treec5a9bbee42ec388e5bb0853424be549a2f3fa489
parent9ff846270246e07602afab708eb9819b8d984f8d
siproxd: add shell helper function to build config file

Using the append_conf_if_set() function removes much repetitive and
error-prone code, reduces the source size by ~30%, and fixes a typo
previously uncaught.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
net/siproxd/files/siproxd.init