📄 laddie
字号:
#!/bin/bash# Start or stop all components of the Laddie appliance. This script is not# used at startup; it is intended as a convenient way to stop and then restart# the appliance when experimenting with code changes.. /etc/sysconfig/rc. $rc_functionscase "$1" in start) echo "Starting the Laddie appliance..." # Invoke the Laddie startup scripts (range 50 - 69). cd /etc/rc.d/rc3.d for script in $(ls S[5-6]*) ; do ./$script start sleep 1 done # Start the framebuffer UI after the appliance daemons. /opt/laddie/bin/fbmenuctl start ;; stop) echo "Stopping the Laddie appliance..." # Invoke the Laddie shutdown scripts (range 50 - 69). cd /etc/rc.d/rc0.d /opt/laddie/bin/fbmenuctl stop for script in $(ls K[5-6]*) ; do sleep 1 ./$script stop done ;; status) # Invoke the Laddie startup scripts (range 50 - 69) and check status. cd /etc/rc.d/rc3.d for script in $(ls S[5-6]*) ; do ./$script status done /opt/laddie/bin/fbmenuctl status ;; *) echo "Usage: $0 {start|stop|status}" exit 1 ;;esac
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -