Browse Source

add rc.d bits for the new standalone tftpd daemon.

mostly from Kent R. Spillner
ok sthen@ robert@
OPENBSD_5_2
dlg 12 years ago
parent
commit
4f6d7a7784
2 changed files with 13 additions and 1 deletions
  1. +2
    -1
      src/etc/rc.conf
  2. +11
    -0
      src/etc/rc.d/tftpd

+ 2
- 1
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.165 2011/12/21 09:53:15 ajacoutot Exp $
# $OpenBSD: rc.conf,v 1.166 2012/03/05 10:43:42 dlg Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
ldpd_flags=NO # for normal use: ""
@ -55,6 +55,7 @@ kadmind_flags=NO # for normal use: ""
kpasswdd_flags=NO # for normal use: ""
btd_flags=NO # for normal use: ""
amd_flags=NO # for normal use: ""
tftpd_flags=NO # for normal use: "[chroot dir]"
# use -u to disable chroot, see httpd(8)
httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))


+ 11
- 0
src/etc/rc.d/tftpd View File

@ -0,0 +1,11 @@
#!/bin/sh
#
# $OpenBSD: tftpd,v 1.1 2012/03/05 10:43:42 dlg Exp $
daemon="/usr/sbin/tftpd"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_cmd $1

Loading…
Cancel
Save