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

📄 proxy

📁 sgip的api,包括开发资料
💻
字号:
#!/bin/ksh#************************************************************************##	Used to start SCC system##	mknod command #MKNOD=/usr/sbin/mknod#****************************************************************************##	Check that the PROXY base environment has been set up before proceeding#TMP=$PROXY_RUN"..."if [ $TMP = "..." ]then	echo "Error - Run .profile to set up environment"	echo "		System cannot be started......"	echo "		Hit <RETURN> to continue......"	read inp	exitfi#****************************************************************************##	Create temporary directory if necessary#if [ ! -d $PROXY_TMP ] then	mkdir $PROXY_TMP	touch $ARCH_ERR_OUTPUT	chmod 776 $PROXY_TMP;	chmod 666 $ARCH_ERR_OUTPUT;fi##	Check Configuration files#if [ ! -f $ARCH_ERRMSG_CODE ] then	echo "Error - Cannot find $ARCH_ERRMSG_CODE\n\n"	echo "		System cannot be started......"	echo "		<RETURN> to continue......"	read inp	exit;fiwhile [ true ]doclear;#print;#print;#print;echo;echo  -n "		Please enter the number of proxy(1~15):";read choise1;    if [  $choise1 -gt 0 -a  $choise1 -lt 16  ]	then	    break;	    else	    continue	    fidoneecho;echo;##	Display the menu#while	[ true ]do	clear	echo	echo		"		PROXY  CONTROL SYSTEM V1.00(2000-04-03)"	echo		"		======================================="	echo		"		1.	Start proxy system"	echo	echo		"		2.	Check processes state"	echo	echo		"		3.	View trace file"	echo	echo		"		4.	Empty trace file"	echo	echo		"		5.	Shutdown proxy system"	echo	echo		"		6.	Exit"	echo		"		======================================="	echo	-n	"		Enter your choise(1~6):"	read	choise	if [  $choise -lt 1 -o  $choise -gt 6  ]	then		echo "		Your choise must be less than 6 and larger than 1" 		echo "		Please rechoise again"		echo "		Press Enter key to continue"		read inp		continue	fi	case	$choise in		1)			clear			$PROXY_SCRIPT_DIR/startproxy $choise1;;		2)clear;$PROXY_SCRIPT_DIR/proxystate $choise1;;		3)clear;$PROXY_SCRIPT_DIR/viewproxytrace;;		4)clear;$PROXY_SCRIPT_DIR/emptyproxytrace;;		5)echo  -n "		Are you sure?(Y/N):";		read choise;		if [ $choise = 'Y' -o $choise = 'y' ]		then			clear;$PROXY_SCRIPT_DIR/shutdownproxy $choise1;		fi;;		6)clear; exit;;	esac		done

⌨️ 快捷键说明

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