mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
28266c1a1f
commit
8bfd4ac10b
12
package/asterisk/patches/asterisk-1.0.7-astdb-in-spool.patch
Normal file
12
package/asterisk/patches/asterisk-1.0.7-astdb-in-spool.patch
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user