📄 smartd.initd
字号:
#!/bin/bash# ucsc-smartsuite init file for snmpd## description: Self Monitoring and Reporting Technology (SMART) Daemon## processname: smartd # source function library. /etc/rc.d/init.d/functionscase "$1" in start) echo -n "Starting smartd: " daemon /usr/local/sbin/smartd touch /var/lock/subsys/smartd echo ;; stop) echo -n "Shutting down snmpd: " killproc smartd rm -f /var/lock/subsys/smartd echo ;; restart) $0 stop $0 start ;; status) status smartd ;; *) echo "Usage: smartd {start|stop|restart|status}" exit 1esacexit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -