diff options
Diffstat (limited to 'ftp/atftp/files/atftpd.in')
-rw-r--r-- | ftp/atftp/files/atftpd.in | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/ftp/atftp/files/atftpd.in b/ftp/atftp/files/atftpd.in deleted file mode 100644 index 13f1e47b6058..000000000000 --- a/ftp/atftp/files/atftpd.in +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh - -# PROVIDE: atftpd -# REQUIRE: NETWORKING -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# atftpd_enable (bool): Set to "NO" by default. -# atftpd_flags (str): Default to "--daemon". -# Extra flags passed to start command. -# - -. /etc/rc.subr - -name="atftpd" -rcvar=atftpd_enable - -command=%%PREFIX%%/sbin/${name} -pidfile=/var/run/${name}.pid -logfile=/var/log/${name}.log - -load_rc_config $name - -[ -z "$atftpd_enable" ] && atftpd_enable="NO" -[ -z "$atftpd_flags" ] && atftpd_flags="--daemon --verbose=5 --pidfile ${pidfile} --logfile ${logfile} %%PREFIX%%/tftp" - -start_precmd="start_precmd" -stop_postcmd="stop_postcmd" - -start_precmd() -{ - touch ${logfile} - chown nobody ${logfile} -} - -stop_postcmd() -{ - rm -f ${pidfile} -} - -run_rc_command "$1" |