Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2015 02:43:30 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r376991 - head/ftp/atftp/files
Message-ID:  <201501140243.t0E2hUTH086733@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Wed Jan 14 02:43:29 2015
New Revision: 376991
URL: https://svnweb.freebsd.org/changeset/ports/376991
QAT: https://qat.redports.org/buildarchive/r376991/

Log:
  Use 'REQUIRE: NETWORKING' in the rc.d script to be consistent
  with ftp/tftp-hpa.

Modified:
  head/ftp/atftp/files/atftpd.in

Modified: head/ftp/atftp/files/atftpd.in
==============================================================================
--- head/ftp/atftp/files/atftpd.in	Wed Jan 14 01:25:55 2015	(r376990)
+++ head/ftp/atftp/files/atftpd.in	Wed Jan 14 02:43:29 2015	(r376991)
@@ -1,8 +1,7 @@
 #!/bin/sh
 
 # PROVIDE: atftpd
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
+# REQUIRE: NETWORKING
 # KEYWORD: shutdown
 #
 # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
@@ -25,7 +24,7 @@ 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} /tftpboot"
+[ -z "$atftpd_flags" ]	&& atftpd_flags="--daemon --verbose=5 --pidfile ${pidfile} --logfile ${logfile} %%PREFIX%%/tftp"
 
 start_precmd="start_precmd"
 stop_postcmd="stop_postcmd"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501140243.t0E2hUTH086733>