⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smsd.in

📁 Network Administration Visualized 网络管理可视化源码
💻 IN
字号:
#!/usr/bin/env bash###################### $Id: smsd.in 3786 2007-01-03 15:05:11Z mortenv $# This file is part of Network Administration Visualized.# This script controls start/stop/status of the NAV SMS Daemon.## Copyright 2006 UNINETT AS# Authors: Morten Brekkevold <morten.brekkevold@uninett.no>#####################prefix=@prefix@exec_prefix=@exec_prefix@sysconfdir=@sysconfdir@initdir=@initdir@bindir=@bindir@localstatedir=@localstatedir@SMSD=${bindir}/smsd.py# Source function library.. ${initdir}/functions[ -x $SMSD ] || exit 2case "$1" in	start)		# Start daemons (it will switch to an unprivileged user itself)		echo -n "Starting smsd: "		daemon $SMSD		rc=$?		echo		exit $rc		;;	stop)		# Stop daemons.		echo -n "Shutting down smsd: "		if killproc smsd; then		    echo		    exit 0		else		    echo		    exit 1		fi        	;;	restart)		$0 stop		$0 start		;;	status)	        status smsd		exit $?		;;	*)		echo "Usage: $0 {start|stop|restart|status}"		exit 1esacexit 0

⌨️ 快捷键说明

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