bnetd.init

来自「打魔兽战网的都知道他是什么」· INIT 代码 · 共 52 行

INIT
52
字号
# -*- sh -*-## bnetd         Script to control the Unix Battle.net Daemon## Author:       Hakan Tandogan <hakan@gurkensalat.com>## chkconfig: 2345 21 79# description: bnetd is a Unix clone of the Battle.net Daemon## Source function library.. /etc/rc.d/init.d/functions# See how we were called.case "$1" in  start)        # Start daemons.        echo -n "Starting bnetd: "        daemon bnetd        echo        touch /var/lock/subsys/bnetd        ;;  stop)        # Stop daemons.        echo -n "Shutting down bnetd: "	killproc bnetd        echo        rm -f /var/lock/subsys/bnetd        ;;  reload)	$0 stop	$0 start	;;  restart)	$0 stop	$0 start	;;  status)	status bnetd	;;  *)        echo "Usage: bnetd {start|stop|restart|reload|status}"        exit 1esacexit 0

⌨️ 快捷键说明

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