From b27213dcfa6ebc39ff8513ad78dc42d7eb32adcd Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 7 May 2007 11:47:00 +0000 Subject: [PATCH] Put asterisk database in ram (#1295) SVN-Revision: 7122 --- net/asterisk/files/asterisk.init | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/asterisk/files/asterisk.init b/net/asterisk/files/asterisk.init index 1c97a18dfa..00a4c8b1c6 100644 --- 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 } -- 2.30.2