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>
Mon, 3 Jul 2017 23:59:04 +0000 (16:59 -0700)
commit84695bea0c35e194152af8d43daa135ecaa9f3d4
tree180e91dac078a5a9e5a17df31cc8fce0a0b69326
parentff3f6f86653263834a377a33661fc91ed9ac8409
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