#!/bin/sh ip=192.168.1.132 if [ -n "$1" ]; then ip=$1 fi echo ___debug on $ip gdbserver $ip:1234 /root/run/app/smartPDU