Add an -f flag (for file) to innconfval, and re-use that program to parse the contents of the inn-secrets.conf secrets file, and give the requested values to callers.
Default value would be inn.conf, and it can be set to other file names (like inn-secrets.conf).
Add an
-f
flag (for file) toinnconfval
, and re-use that program to parse the contents of theinn-secrets.conf
secrets file, and give the requested values to callers. Default value would beinn.conf
, and it can be set to other file names (likeinn-secrets.conf
).