📄 arpwatch.init
字号:
#! /bin/sh## chkconfig: - 55 45# description: The arpwatch daemon attempts to keep track of ethernet/ip \# address pairings.# processname: arpwatch# Source function library.. /etc/rc.d/init.d/functions# Get config.. /etc/sysconfig/network# Check that networking is up.if [ ${NETWORKING} = "no" ]then exit 0fi# See how we were called.case "$1" in start) echo -n "Starting arpwatch: " daemon arpwatch echo touch /var/lock/subsys/arpwatch ;; stop) echo -n "Stopping arpwatch: " killproc arpwatch echo rm -f /var/lock/subsys/arpwatch ;; status) status arpwatch ;; restart|reload) $0 stop $0 start ;; *) echo "Usage: arpwatch {start|stop|status|restart|reload}" exit 1esacexit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -