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:
542fa2d
)
Correctly symlink astdb for first time running or upgrading (#1295)
author
Florian Fainelli
<florian@openwrt.org>
Sun, 1 Jul 2007 09:20:01 +0000
(09:20 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sun, 1 Jul 2007 09:20:01 +0000
(09:20 +0000)
SVN-Revision: 7818
net/asterisk/files/asterisk.init
patch
|
blob
|
history
diff --git
a/net/asterisk/files/asterisk.init
b/net/asterisk/files/asterisk.init
index f506b0c1eaa57f83e37a5090abfda8c0bfc695c7..7abbd754ff04308219abe8cc67b5104796dd77b0 100644
(file)
--- a/
net/asterisk/files/asterisk.init
+++ b/
net/asterisk/files/asterisk.init
@@
-11,7
+11,7
@@
start() {
[ -d /var/log/asterisk ] || mkdir -p /var/log/asterisk
[ -d /var/spool/asterisk ] || mkdir -p /var/spool/asterisk
[ -f /usr/lib/asterisk/astdb ] && mv /usr/lib/asterisk/astdb /var/spool/asterisk/astdb
- [ -h /usr/lib/asterisk/astdb ] || ln -s /var/spool/asterisk/astdb /usr/lib/asterisk/astdb
+ [ -h /usr/lib/asterisk/astdb ] || ln -s
f
/var/spool/asterisk/astdb /usr/lib/asterisk/astdb
/usr/sbin/asterisk $OPTIONS
}