aboutsummaryrefslogtreecommitdiffstats
path: root/package/asterisk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-17 07:10:24 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-17 07:10:24 +0000
commit8bfd4ac10b004bcdf64f74dcb3ec22aa12e147fc (patch)
tree4c5e20eccf2d83401d8ee7486a29bb22237d7f33 /package/asterisk
parent28266c1a1fce343dd8720823738d358e3e1f3a1d (diff)
downloadupstream-8bfd4ac10b004bcdf64f74dcb3ec22aa12e147fc.tar.gz
upstream-8bfd4ac10b004bcdf64f74dcb3ec22aa12e147fc.tar.bz2
upstream-8bfd4ac10b004bcdf64f74dcb3ec22aa12e147fc.zip
Add a patch to move astdb from flash to tmpfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@920 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/asterisk')
-rw-r--r--package/asterisk/patches/asterisk-1.0.7-astdb-in-spool.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/asterisk/patches/asterisk-1.0.7-astdb-in-spool.patch b/package/asterisk/patches/asterisk-1.0.7-astdb-in-spool.patch
new file mode 100644
index 0000000000..13efe3bb64
--- /dev/null
+++ b/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