conntrack-tools: remove default config file
default configuration will fill up disk by writing /var/log/conntrackd-stats.log Introduced due init script auto start. Signed-off-by: Ulrich Weber <uw@ocedo.com> SVN-Revision: 47422
This commit is contained in:
parent
23fbd97649
commit
17ce564107
2 changed files with 1 additions and 7 deletions
|
@ -47,17 +47,10 @@ define Package/conntrack-tools/description
|
||||||
command line interface conntrack.
|
command line interface conntrack.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/conntrack-tools/conffiles
|
|
||||||
/etc/conntrackd/conntrackd.conf
|
|
||||||
endef
|
|
||||||
|
|
||||||
TARGET_CFLAGS += -D_GNU_SOURCE=1
|
TARGET_CFLAGS += -D_GNU_SOURCE=1
|
||||||
|
|
||||||
define Package/conntrack-tools/install
|
define Package/conntrack-tools/install
|
||||||
$(INSTALL_DIR) $(1)/etc/conntrackd
|
$(INSTALL_DIR) $(1)/etc/conntrackd
|
||||||
$(INSTALL_CONF) \
|
|
||||||
$(PKG_BUILD_DIR)/doc/stats/conntrackd.conf \
|
|
||||||
$(1)/etc/conntrackd/
|
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) \
|
$(INSTALL_BIN) \
|
||||||
$(PKG_INSTALL_DIR)/usr/sbin/conntrack \
|
$(PKG_INSTALL_DIR)/usr/sbin/conntrack \
|
||||||
|
|
|
@ -8,6 +8,7 @@ USE_PROCD=1
|
||||||
PROG="/usr/sbin/conntrackd"
|
PROG="/usr/sbin/conntrackd"
|
||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
|
[ -e /etc/conntrackd/conntrackd.conf ] || return
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
|
|
||||||
procd_set_param command $PROG -C /etc/conntrackd/conntrackd.conf
|
procd_set_param command $PROG -C /etc/conntrackd/conntrackd.conf
|
||||||
|
|
Loading…
Reference in a new issue