From: Sebastian Kemper Date: Sun, 21 Apr 2019 13:24:09 +0000 (+0200) Subject: baresip: update default config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5c29fde85ca70ff53e3bf4051762b9bbcc8beefe;p=feed%2Ftelephony.git baresip: update default config This adds two (three, really) sed scripts to update the default configuration. All example accounts are getting disabled/commented. And the module_path is set to the actual path. Signed-off-by: Sebastian Kemper --- diff --git a/net/baresip/Makefile b/net/baresip/Makefile index af40b02..888fea9 100644 --- a/net/baresip/Makefile +++ b/net/baresip/Makefile @@ -124,6 +124,8 @@ define Package/baresip/install $(INSTALL_DIR) $(1)/usr/share/baresip $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/baresip/* $(1)/usr/share/baresip $(INSTALL_DIR) $(1)/etc/baresip + $(SED) '/^#/!s/^/#/' $(PKG_BUILD_DIR)/docs/examples/accounts + $(SED) '/^#module_path/s|^#||;s|/local||' $(PKG_BUILD_DIR)/docs/examples/config $(INSTALL_CONF) $(PKG_BUILD_DIR)/docs/examples/{accounts,config,contacts} $(1)/etc/baresip $(INSTALL_DIR) $(1)/etc/default $(INSTALL_CONF) ./files/baresip.default $(1)/etc/default/baresip