voipmonitor / sniffer

VoIPmonitor sniffer sources
227 stars 105 forks source link

Adjust the init script to allow the reading of a defaults file #17

Closed abrezinsky closed 9 years ago

abrezinsky commented 9 years ago

Hello,

The following patch allows setting an /etc/defaults/voipmonitor file to overwrite settings without having to edit the init file directly. Out of the box, it works the same for end users as without the patch.

It also exposes a RUN variable that can be set in the /etc/defaults/voipmonitor file to indicate the process can't be started. This is some groundwork to package the sniffer package as a Debian package (dpkg install fails because it can't start the process without a working config).

This is a dependency for PR #16

voipmonitor commented 9 years ago

merged, thank you!