From: Florian Fainelli Date: Mon, 7 May 2007 11:47:00 +0000 (+0000) Subject: Put asterisk database in ram (#1295) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7846fadbfe83a1e1e72af01e4464f9681e50fcfa;p=openwrt%2Fsvn-archive%2Fpackages.git Put asterisk database in ram (#1295) SVN-Revision: 7122 --- diff --git a/net/asterisk/files/asterisk.init b/net/asterisk/files/asterisk.init index 1c97a18df..00a4c8b1c 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 }