winbind.init

来自「samba服务器!」· INIT 代码 · 共 49 行

INIT
49
字号
#!/bin/sh## Start/stops the winbindd daemon.##PATH=/sbin:/bin:/usr/sbin:/usr/binDAEMON=/usr/sbin/winbindd# clear conflicting settings from the environmentunset TMPDIR# See if the daemon is theretest -x $DAEMON || exit 0case "$1" in	start)		echo -n "Starting the Winbind daemon: winbindd"		start-stop-daemon --start --quiet --exec $DAEMON		echo "."		;;	stop)		echo -n "Stopping the Winbind daemon: winbindd"		start-stop-daemon --stop --quiet --oknodo --exec $DAEMON		echo "."		;;	restart|force-reload)		echo -n "Restarting the Winbind daemon: winbindd"		start-stop-daemon --stop --quiet --oknodo --exec $DAEMON		sleep 2		start-stop-daemon --start --quiet --exec $DAEMON		echo "."		;;	*)		echo "Usage: /etc/init.d/winbind {start|stop|restart|force-reload}"		exit 1		;;esacexit 0

⌨️ 快捷键说明

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