projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcca69f
)
Put asterisk database in ram (#1295)
author
Florian Fainelli
<florian@openwrt.org>
Mon, 7 May 2007 11:47:00 +0000
(11:47 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Mon, 7 May 2007 11:47:00 +0000
(11:47 +0000)
SVN-Revision: 7122
net/asterisk/files/asterisk.init
patch
|
blob
|
history
diff --git
a/net/asterisk/files/asterisk.init
b/net/asterisk/files/asterisk.init
index 1c97a18dfae943d3dcde1065e06951a98bf9650d..00a4c8b1c672dfb9cedbf5d784d1d35a46306768 100644
(file)
--- a/
net/asterisk/files/asterisk.init
+++ b/
net/asterisk/files/asterisk.init
@@
-8,7
+8,10
@@
start() {
[ -f $DEFAULT ] && . $DEFAULT
[ -d /var/run ] || mkdir -p /var/run
[ -d /var/log/asterisk ] || mkdir -p /var/log/asterisk
- [ -d /var/spool/asterisk ] || mkdir -p /var/spool/asterisk
+ [ -d /var/spool/asterisk ] || {
+ mkdir -p /var/spool/asterisk
+ ln -s /usr/lib/asterisk/astdb /var/spool/asterisk/astdb
+ }
/usr/sbin/asterisk $OPTIONS
}