[Pkg-voip-commits] [dahdi-tools] 112/285: remove unused	dahdi_cfg_device_args
    tzafrir at debian.org 
    tzafrir at debian.org
       
    Thu Jul  7 19:18:40 UTC 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository dahdi-tools.
commit 7a1e2223094faeb5c44b7ee499fe97fefab409f0
Author: Oron Peled <oron.peled at xorcom.com>
Date:   Mon Sep 23 17:19:03 2013 +0200
    remove unused dahdi_cfg_device_args
    
    Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
---
 dahdi_cfg_device_args | 32 --------------------------------
 1 file changed, 32 deletions(-)
diff --git a/dahdi_cfg_device_args b/dahdi_cfg_device_args
deleted file mode 100755
index de5d557..0000000
--- a/dahdi_cfg_device_args
+++ /dev/null
@@ -1,32 +0,0 @@
-#! /bin/sh
-
-devbase='/sys/bus/dahdi_devices/devices'
-
-# Use given devices or otherwise, all existing devices
-if [ "$#" -gt 0 ]; then
-	DEVICES="$@"
-else
-	DEVICES=`echo $devbase/*`
-fi
-
-run_action_spans() {
-	device="$1"
-	for span in $device/span-*
-	do
-		spanno=`echo "$span" | sed 's,.*/span-,,'`
-		spantype=`cat "$span/spantype"`
-		basechan=`cat "$span/basechan"`
-		channels=`cat "$span/channels"`
-		endchan=`expr "$basechan" + "$channels" - 1`
-		echo "-S $spanno -C $basechan-$endchan"
-	done
-}
-
-run_action() {
-	for device in $DEVICES
-	do
-		run_action_spans "$device"
-	done
-}
-
-run_action
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git
    
    
More information about the Pkg-voip-commits
mailing list