#!/bin/sh # Start or stop wzdftpd # $FreeBSD: head/ftp/wzdftpd/files/wzdftpd.in 316874 2013-04-30 03:15:37Z miwi $ # PROVIDE: wzdftpd # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable wzdftpd # wzdftpd_enable="YES" # wzdftpd_flags="" wzdftpd_enable=${wzdftpd_enable:-"NO"} # Enable wzdftpd . /etc/rc.subr name="wzdftpd" rcvar=wzdftpd_enable command="%%PREFIX%%/sbin/${name}" required_files="%%PREFIX%%/etc/wzdftpd/wzd.cfg" load_rc_config $name run_rc_command "$1"