diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-06-22 19:18:41 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-06-22 19:18:41 +0000 |
commit | f5c1ab781ac178f95adc5ca58233996d7cbd67a8 (patch) | |
tree | 8fd2c0b23db6ed5f38a8b2a0f013c36475c4a4ff /ftp/wzdftpd/files/wzdftpd.sh | |
parent | Add renattach, a mail filter to selectively rename or remove mail attachments (diff) |
- Add rc script
- Expand variables in pkg-message
- Move users.sample to better place
PR: ports/68164
Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru> (maintainer)
Diffstat (limited to 'ftp/wzdftpd/files/wzdftpd.sh')
-rw-r--r-- | ftp/wzdftpd/files/wzdftpd.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ftp/wzdftpd/files/wzdftpd.sh b/ftp/wzdftpd/files/wzdftpd.sh new file mode 100644 index 000000000000..d8098f5a21d1 --- /dev/null +++ b/ftp/wzdftpd/files/wzdftpd.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +# Start or stop wzdftpd +# $FreeBSD$ + +# PROVIDE: wzdftpd +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: FreeBSD shutdown +# + +prefix=%%PREFIX%% + +wzdftpd_enable=${wzdftpd_enable:-"NO"} # Enable wzdftpd +wzdftpd_program="${prefix}/sbin/wzdftpd" # Location of wzdftpd +wzdftpd_flags=${gkrellmd_flags:-""} # Flags to wzdftpd + +. %%RC_SUBR%% + +name="wzdftpd" +rcvar=`set_rcvar` +command="${prefix}/sbin/${name}" +required_files="${prefix}/etc/wzd.cfg" + +load_rc_config $name +run_rc_command "$1" |