[asterisk-bugs] [Asterisk-GUI 0011629]: [patch] hardwired datadir=/var/lib/asterisk in config/scripts/astman.js
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Nov 17 13:49:48 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11629
======================================================================
Reported By: tzafrir
Assigned To: bkruse
======================================================================
Project: Asterisk-GUI
Issue ID: 11629
Category: General
Reproducibility: always
Severity: tweak
Priority: normal
Status: feedback
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 2036
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2007-12-23 10:21 CST
Last Modified: 2008-11-17 13:49 CST
======================================================================
Summary: [patch] hardwired datadir=/var/lib/asterisk in
config/scripts/astman.js
Description:
astman assumes scripts are under /var/lib/asterisk/scripts and that sound
files are under /var/lib/asterisk/sounds . However, read-only data should
reside under $datadir (which is set in my case to /usr/share/zaptel ).
======================================================================
----------------------------------------------------------------------
(0094944) bkruse (manager) - 2008-11-17 13:49
http://bugs.digium.com/view.php?id=11629#c94944
----------------------------------------------------------------------
Right, just like we set paths in the configure script, we could do so for
datadir.
Right now, as an example, we get the svn revision from doing a:
@build_tools/make_version > $(CONFIGDIR)/js/guiversion.js
So that the GUI now has a dynamic svn revision, we could probably do
something similar, so that the paths in the GUI are not hardcoded.
-bk
Issue History
Date Modified Username Field Change
======================================================================
2008-11-17 13:49 bkruse Note Added: 0094944
======================================================================
More information about the asterisk-bugs
mailing list