⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 check_smpp.sh

📁 The Kannel Open Source WAP and SMS gateway works as both an SMS gateway, for implementing keyword b
💻 SH
字号:
#!/bin/sh## Use `test/drive_smpp' to test SMPP driver.set -e#set -xtimes=10test/drive_smpp -v 0 -m $times 2> check_smpp_drive.log & sleep 1gw/bearerbox -v 0 test/drive_smpp.conf 2> check_smpp_bb.log &  bbpid=$!running=yeswhile [ $running = yes ]do    sleep 1    if grep "All messages sent to ESME." check_smpp_drive.log > /dev/null      then        running=no    fidonesleep 5kill -INT $bbpidif grep 'WARNING:|ERROR:|PANIC:' check_smpp*.log >/dev/nullthen        echo check_smpp.sh failed 1>&2        echo See check_smpp*.log for info 1>&2        exit 1firm -f check_smpp*.log exit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -