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
poll - Fix events == 0 handling for TAP and TUN, fix console spam
[dragonfly.git]
/
etc
/
rc.d
/
ftpd
blob
4c6844d13d68583e66c32e9412043cfaafe713a1
1
#!/bin/sh
2
3
# PROVIDE: ftpd
4
# REQUIRE: DAEMON
5
# BEFORE: LOGIN
6
7
.
/
etc
/
rc.subr
8
9
name
=
"ftpd"
10
rcvar
=
`set_rcvar`
11
pidfile
=
"/var/run/
${name}
.pid"
12
command
=
"/usr/libexec/
${name}
"
13
command_args
=
"-D -p
$pidfile
"
14
15
load_rc_config
$name
16
run_rc_command
"
$1
"