solaris.init
来自「open source dhcp server client etc...」· INIT 代码 · 共 29 行
INIT
29 行
#!/bin/sh# Contributed by Brian Murrell state=$1 set `who -r`case $state in 'start') if [ $9 = "2" -o $9 = "3" ] then exit fi if [ -f @PREFIX@/sbin/dhcpd ]; then echo "Starting the ISC DHCP server" @PREFIX@/sbin/dhcpd fi ;;'stop') if [ -f @PREFIX@/etc/dhcpd.pid ]; then PID=`cat @PREFIX@/etc/dhcpd.pid` if [ -d /proc/$PID ]; then echo "Stopping the ISC DHCP server" kill $PID fi fi ;;esac
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?