[packages]: net/freeswitch: Fixed config so mod_syslog is used on startup
authorcshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 7 Jul 2010 05:39:47 +0000 (05:39 +0000)
committercshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 7 Jul 2010 05:39:47 +0000 (05:39 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22082 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/freeswitch/Makefile
net/freeswitch/files/etc.minimal/autoload_configs/modules.conf.xml

index 1e9c1fa..1316186 100644 (file)
@@ -375,7 +375,7 @@ define Build/Compile
                LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
                all $(MAKE_INSTALL_TARGETS)
        $(SED) 's|^\([ \t]*\)\(.*\)"mod_console"\(.*\)$$$$|\1<!-- \2"mod_console"\3 -->|' $(PKG_INSTALL_DIR)/etc/freeswitch/autoload_configs/modules.conf.xml
-       $(SED) 's|^\([ \t]*\)<!-- \(.*\)"mod_syslog"\(.*\) -->\(.*\)$$$$|\1\2"mod_syslog"\3\4|' $(PKG_INSTALL_DIR)/etc/freeswitch/autoload_configs/modules.conf.xml
+       $(SED) 's|^\([ \t]*\)<!-- *\(.*\)"mod_syslog"\(.*\) *-->\(.*\)$$$$|\1\2"mod_syslog"\3\4|' $(PKG_INSTALL_DIR)/etc/freeswitch/autoload_configs/modules.conf.xml
 endef
 
 define Build/InstallDev
index be17899..009978a 100644 (file)
@@ -3,8 +3,8 @@
     
     <!-- Loggers (I'd load these first) -->
     <!-- <load module="mod_console"/> -->
-    <load module="mod_logfile"/>
-    <!-- <load module="mod_syslog"/> -->
+    <!-- <load module="mod_logfile"/> -->
+    <load module="mod_syslog"/>
 
     <!--<load module="mod_yaml"/>-->