xpp: waitfor_xpds: assume astribank_is_starting exists

It's in the same package (dahdi-tools) for a long time

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
This commit is contained in:
Oron Peled 2014-10-28 13:48:16 -04:00 committed by Tzafrir Cohen
parent 0eb77e626e
commit cd6083b6ce

View File

@ -94,10 +94,7 @@ if ! dahdi_hardware="`which dahdi_hardware 2>/dev/null`"; then
echo >&2 "$0: Missing dahdi_hardware" echo >&2 "$0: Missing dahdi_hardware"
exit 0 exit 0
fi fi
if ! astribank_is_starting="`which astribank_is_starting 2>/dev/null`"; then
echo >&2 "$0: Missing astribank_is_starting"
exit 0
fi
if [ "`$dahdi_hardware | grep xpp_usb`" != "" ]; then if [ "`$dahdi_hardware | grep xpp_usb`" != "" ]; then
astribank_is_starting -v -a astribank_is_starting -v -a
fi fi