2017-11-06 12:18:37 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Importing useful functions for cc testing
|
|
|
|
if [ -f ./func.sh ]; then
|
|
|
|
source ./func.sh
|
|
|
|
elif [ -f scripts/func.sh ]; then
|
|
|
|
source scripts/func.sh
|
|
|
|
fi
|
|
|
|
|
|
|
|
## Create channel
|
2018-01-23 17:53:52 +08:00
|
|
|
echo_b "=== Creating channel ${APP_CHANNEL} with ${APP_CHANNEL_TX}... ==="
|
|
|
|
|
2017-12-19 14:40:39 +08:00
|
|
|
channelCreate "${APP_CHANNEL}" "${APP_CHANNEL_TX}" 1 0
|
2018-01-23 17:53:52 +08:00
|
|
|
|
|
|
|
echo_g "=== Created channel ${APP_CHANNEL} with ${APP_CHANNEL_TX} ==="
|
|
|
|
|
|
|
|
echo
|