summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/rc.conf3
-rw-r--r--etc/rc.d/tftpd11
2 files changed, 13 insertions, 1 deletions
diff --git a/etc/rc.conf b/etc/rc.conf
index cbc2b87520a..666758115ff 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -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))
diff --git a/etc/rc.d/tftpd b/etc/rc.d/tftpd
new file mode 100644
index 00000000000..c084c0ca29e
--- /dev/null
+++ b/etc/rc.d/tftpd
@@ -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