aboutsummaryrefslogtreecommitdiff
path: root/japanese/ndtpd/files/ndtpd.sh.sample
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/ndtpd/files/ndtpd.sh.sample')
-rw-r--r--japanese/ndtpd/files/ndtpd.sh.sample15
1 files changed, 15 insertions, 0 deletions
diff --git a/japanese/ndtpd/files/ndtpd.sh.sample b/japanese/ndtpd/files/ndtpd.sh.sample
new file mode 100644
index 000000000000..17a62fc0aab8
--- /dev/null
+++ b/japanese/ndtpd/files/ndtpd.sh.sample
@@ -0,0 +1,15 @@
+#!/bin/sh -
+#
+# NDTPD: rc-file for FreeBSD.
+#
+
+### NDTPD options: ###
+ndtpd_program=@prefix@/sbin/ndtpd # path to ndtpd.
+ndtpd_enable=YES # Run ndtpd (or NO).
+ndtpd_flags= # Flags to ndtpd (if enabled).
+### End of NDTPD options: ###
+
+if [ "x${ndtpd_enable}" = xYES -a -x ${ndtpd_program} ]; then
+ echo -n " ndtpd"
+ ${ndtpd_program} ${ndtpd_flags}
+fi