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

📄 sled_rc

📁 一个通过com口
💻
字号:
#!/bin/sh## start/stop the led and shutdown daemon## you should start this as first process and terminate it as the# last one## processname: sled# Source function library.. /etc/rc.d/init.d/functions[ -x /usr/sbin/sled ] || exit 0DEVICE=/dev/ledRETVAL=0# See how we were called.case "$1" in  start)        # Start daemons.        echo -n "Starting sled: "        daemon sled $DEVICE	RETVAL=$?        ;;  stop)        # Stop daemons.        echo -n "Shutting down sled: "	killproc sled	RETVAL=$?        ;;  status)	status sled	RETVAL=$?	;;  restart|reload)	$0 stop	$0 start	RETVAL=$?	;;  *)        echo "Usage: sled_rc {start|stop|restart|reload|status}"        exit 1esacexit $RETVAL

⌨️ 快捷键说明

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