thttpd.sh

来自「非常优秀的linux嵌入式http服务器」· Shell 代码 · 共 26 行

SH
26
字号
#!/bin/sh## thttpd.sh - startup script for thttpd on FreeBSD## This goes in /usr/local/etc/rc.d and gets run at boot-time.case "$1" in    start)    if [ -x /usr/local/sbin/thttpd_wrapper ] ; then	echo -n " thttpd"	/usr/local/sbin/thttpd_wrapper &    fi    ;;    stop)    kill -USR1 `cat /var/run/thttpd.pid`    ;;    *)    echo "usage: $0 { start | stop }" >&2    exit 1    ;;esac

⌨️ 快捷键说明

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