diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-11-15 14:56:32 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-11-15 14:56:32 +0000 |
commit | f9ccc3bcdc2637ab5c6a0ba4b8523c73e42539ef (patch) | |
tree | 8ef8f23e1535a76c0380f3c6ff6a744b133cc09d /build_tools | |
parent | d4038174f26fdad9a5efd3ca753f86b0be0a4a78 (diff) |
live_dahdi: rsync to /tmp/dahdi
* Change the destination of rsync to /tmp/dahdi
* Add variable LIVE_DAHDI_RSYNC_DIR to allow overriding this.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9480 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/live_dahdi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build_tools/live_dahdi b/build_tools/live_dahdi index 4a9f20a..0e15a6b 100755 --- a/build_tools/live_dahdi +++ b/build_tools/live_dahdi @@ -4,6 +4,7 @@ LINUX_DIR=${LINUX_DIR:=.} TOOLS_DIR=${TOOLS_DIR:=../dahdi-tools} DYNAMIC_LOC="${DYNAMIC_LOC:-no}" DESTDIR=$PWD/live +LIVE_DAHDI_RSYNC_DIR=${LIVE_DAHDI_RSYNC_DIR:-/tmp/dahdi} KVERS=${KVERS:-`uname -r`} XPP_SYNC=${XPP_SYNC:-auto} AST_SCRIPT=${AST_SCRIPT:-/etc/init.d/asterisk} @@ -258,7 +259,7 @@ rsync) fi # copy the script itself and the installed directory to the # target host: - rsync -ai "$0" $DESTDIR "$2:/tmp/" + rsync -ai "$0" $DESTDIR "$2:$LIVE_DAHDI_RSYNC_DIR" ;; unload) # OK for Asterisk not to be running. TODO: a better test? |