diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-04-10 09:53:40 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-04-10 09:53:40 +0000 |
commit | 43f7d72e1817133a902d856c13fed9afe10590d1 (patch) | |
tree | 5c6ff92a7c4c094c2aec1f3700be44c9790a9b0f | |
parent | 186cf8eaf3b5140d44d8a632d4c656cb71bd37e5 (diff) |
Move astribank_hook from linux to tools. Install it by default
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6344 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rwxr-xr-x | drivers/dahdi/xpp/astribank_hook.sample | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/drivers/dahdi/xpp/astribank_hook.sample b/drivers/dahdi/xpp/astribank_hook.sample deleted file mode 100755 index 9510f7b..0000000 --- a/drivers/dahdi/xpp/astribank_hook.sample +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/sh - -me=`basename $0` -dir=`dirname $0` -LOGGER="logger -i -t '$me'" - -# Always redirect stderr somewhere, otherwise the shell script will die -# when it tries to do I/O related stuff on closed file descriptor. -# Our default is to throw it down the bit-bucket. -#exec 2> /dev/console -## If you wish to trace this script: -#exec 2> "/tmp/${me}_$XBUS_NAME" 1>&2 - -PATH="$dir:/usr/sbin:/sbin:/usr/bin:/bin" - -set -e - -echo "starting($ACTION): '$*'" | $LOGGER - -case "$ACTION" in -add) - ;; -remove) - ;; -online) - if [ -x "$dir/twinstar_hook" ]; then - "$dir/twinstar_hook" - fi - ;; -offline) - if [ -x "$dir/twinstar_hook" ]; then - "$dir/twinstar_hook" - fi - ;; -*) - echo "$0: Unknown ACTION='$ACTION'" | $LOGGER - echo "$0: ARGS='$*'" | $LOGGER - echo "$0: ENV:" | $LOGGER - env | $LOGGER - exit 1 -esac - |