#!/bin/sh
#获得私有ip
ip
=`ifconfig eth0 | grep 'inet' | awk '{print $2}'` ip1='x.x.x.x' if [ "$ip" == "$ip1" ]; then dir='/home/wwwroot/default/guoyi/Pay/' else dir='/home/web/guoyi/Pay/' fi php ${dir}'index.php' order_task

 

posted on 2017-06-28 19:16  睡着的糖葫芦  阅读(149)  评论(0编辑  收藏  举报