From 84abb4eda329e3d9ac21a18e673c8bb2bd8fadd3 Mon Sep 17 00:00:00 2001 From: nico Date: Tue, 17 May 2005 07:10:24 +0000 Subject: Add a patch to move astdb from flash to tmpfs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@920 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../asterisk/patches/asterisk-1.0.7-astdb-in-spool.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 openwrt/package/asterisk/patches/asterisk-1.0.7-astdb-in-spool.patch (limited to 'openwrt/package/asterisk') diff --git a/openwrt/package/asterisk/patches/asterisk-1.0.7-astdb-in-spool.patch b/openwrt/package/asterisk/patches/asterisk-1.0.7-astdb-in-spool.patch new file mode 100644 index 000000000..13efe3bb6 --- /dev/null +++ b/openwrt/package/asterisk/patches/asterisk-1.0.7-astdb-in-spool.patch @@ -0,0 +1,12 @@ +diff -ruN asterisk-1.0.7-old/asterisk.h asterisk-1.0.7-new/asterisk.h +--- asterisk-1.0.7-old/asterisk.h 2004-09-07 17:02:53.000000000 +0200 ++++ asterisk-1.0.7-new/asterisk.h 2005-05-17 09:56:13.000000000 +0200 +@@ -27,7 +27,7 @@ + #define AST_LOG_DIR ASTLOGDIR + #define AST_AGI_DIR ASTAGIDIR + #define AST_KEY_DIR ASTVARLIBDIR "/keys" +-#define AST_DB ASTVARLIBDIR "/astdb" ++#define AST_DB ASTSPOOLDIR "/astdb" + #define AST_TMP_DIR ASTSPOOLDIR "/tmp" + + #define AST_CONFIG_FILE ASTCONFPATH -- cgit v1.2.3