repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git]
/
etc
/
rc.d
/
rwho
blob
8b11e58c5287dfff3ac69706350c80d966a948ee
1
#!/bin/sh
2
#
3
# $NetBSD: rwho,v 1.5 2002/03/22 04:34:00 thorpej Exp $
4
# $FreeBSD: src/etc/rc.d/rwho,v 1.2 2002/06/13 22:14:36 gordon Exp $
5
# $DragonFly: src/etc/rc.d/rwho,v 1.3 2005/11/19 21:47:32 swildner Exp $
6
#
7
8
# PROVIDE: rwho
9
# REQUIRE: DAEMON
10
# BEFORE: LOGIN
11
12
.
/
etc
/
rc.subr
13
14
name
=
"rwhod"
15
rcvar
=
"`set_rcvar`"
16
command
=
"/usr/sbin/
${name}
"
17
18
load_rc_config
$name
19
run_rc_command
"
$1
"