diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-08-22 13:48:43 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-08-22 13:48:43 +0000 |
commit | 094e03f7b253ebbd2af3181dc86ff4021b546218 (patch) | |
tree | 2393a7427d2ac12bb4efa57f788eb55a24952d7b /live_zap | |
parent | 23b7178b4a67405f45ac7190aeb2536e745289e1 (diff) |
Fix init scripts loading in xpp from live_zap and update README
* Set initdir to the directory on the live system for xpp.
* set FIRMWARE_DIR to allow running xpp_fxloader from 'live_zap exec'.
* Update README.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4504 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'live_zap')
-rwxr-xr-x | live_zap | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -30,6 +30,13 @@ export PATH PERL5LIB="$DESTDIR/$PERLLIBDIR" export PERL5LIB +# used in xpp_fxloader: +FIRMWARE_DIR="$DESTDIR/usr/share/zaptel" +export FIRMWARE_DIR + +# make sure Astribank initialization scripts are from our tree. +xpp_ARGS="$xpp_ARGS initdir=$FIRMWARE_DIR" + # the same as xpp/utils/zaptel_drivers . # With the remote mode, I can't rely on files in the source directory. zaptel_drivers() { |