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
O_CREAT was being allowed to leak through a read-only NFS export.
[dragonfly.git]
/
etc
/
rc.d
/
ftpd
blob
a543d3a8a7110b442dcd0f63e0da15308ac44723
1
#!/bin/sh
2
#
3
# $DragonFly: src/etc/rc.d/ftpd,v 1.2 2005/11/19 21:47:32 swildner Exp $
4
#
5
6
# PROVIDE: ftpd
7
# REQUIRE: DAEMON
8
# BEFORE: LOGIN
9
10
.
/
etc
/
rc.subr
11
12
name
=
"ftpd"
13
rcvar
=
`set_rcvar`
14
pidfile
=
"/var/run/
${name}
.pid"
15
command
=
"/usr/libexec/
${name}
"
16
command_args
=
"-D -p
$pidfile
"
17
18
load_rc_config
$name
19
run_rc_command
"
$1
"