Update the pciconf(8) database.
[dragonfly.git] / etc / rc.d / sshd
blob99ab8dfa05f1802d3e380f0b87996e051582e460
1 #!/bin/sh
3 # $NetBSD: sshd,v 1.18 2002/04/29 08:23:34 lukem Exp $
4 # $FreeBSD: src/etc/rc.d/sshd,v 1.3 2003/07/13 01:49:07 mtm Exp $
5 # $DragonFly: src/etc/rc.d/sshd,v 1.3 2005/11/19 21:47:32 swildner Exp $
8 # PROVIDE: sshd
9 # REQUIRE: LOGIN
11 . /etc/rc.subr
13 name="sshd"
14 rcvar=`set_rcvar`
15 keygen_cmd="sshd_keygen"
16 start_precmd="sshd_precmd"
17 pidfile="/var/run/${name}.pid"
18 extra_commands="keygen reload"
20 sshd_keygen()
22 /usr/bin/ssh-keygen -A
25 sshd_precmd()
27 run_rc_command keygen
30 load_rc_config $name
31 run_rc_command "$1"