#!/bin/sh #---------------------------------------------------------------------------- # /etc/init.d/sshd - start/stop/status script for sshd # # Creation: 2002-07-18 jh # Last Update: $Id$ # # Copyright (c) 2002-@@YEAR@@ the eisfair team, team(at)eisfair(dot)org # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------- NAME=sshd DAEMON=/usr/sbin/${NAME} ssh_PIDFILE=/run/${NAME}.pid # read functions . /etc/init.d/functions # set variables ssh_file=/etc/config.d/ssh sshd_config_file=/usr/etc/ssh/sshd_config # read configuration . ${ssh_file} # make bash_completion happy bash_completion_string="Usage: ${0} {start|stop|status|restart|reload}" # --------------------------------------------------------------------------- # usage # --------------------------------------------------------------------------- usage() { cat <