2011年4月5日

TT双拨脚本

摘要: #!/bin/shGET_PPP_GATEWAY(){iface=$1echo"iface="$ifacePPP_IP=$(ifconfig$iface|grep"inetaddr"|awk-F":"'{print$2}'|awk-F""'{print$1}')PPP_GATEWAY=$PPP_IP}GET_PPP_GATEWAY2(){iface=$1echo"iface="$ifacePPP_IP2=$(ifconfig$iface|grep"ine 阅读全文

posted @ 2011-04-05 21:25 鬼蝶[DFCG] 阅读(923) 评论(0) 推荐(0) 编辑

导航