s99wtxregd

来自「Vxworks的培训教程,大家分享下啊,」· 代码 · 共 31 行

TXT
31
字号
#!/bin/sh## Script to start/stop wtxregd## Modify the following line to indicate the Tornado installation directorywind_base=/u/windREGISTRY=$wind_base/host/sun4-solaris2/bin/wtxregdcase "$1" in'start')	if [ -x $REGISTRY ] ; then		$REGISTRY &		echo "Tornado Registry started."	fi	;;'stop')	PID=`/usr/bin/ps -e -u 0|/usr/bin/fgrep wtxregd|/usr/bin/awk '{print $1}'`	if [ ! -z "$PID" ] ;  then		/usr/bin/kill ${PID} 1>/dev/null 2>&1	fi	;;*)	echo "Usage: /etc/rc2.d/S99wtxregd { start | stop }"	;;esacexit 0

⌨️ 快捷键说明

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