mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Fix rc.d script
Requested by: maintainer
This commit is contained in:
parent
e24792fc91
commit
50ee3c22d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291327
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= qpopper
|
||||
PORTVERSION= 4.1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/ \
|
||||
http://core.ring.gr.jp/archives/net/mail/qpopper/
|
||||
|
@ -1,23 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: qpopper
|
||||
# REQUIRE: SERVERS
|
||||
# KEYWORD: shutdown
|
||||
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable qpopper:
|
||||
# qpopper_enable="YES"
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
qpopper_enable=${qpopper_enable-"NO"}
|
||||
qpopper_flags=${qpopper_flags-""}
|
||||
|
||||
name=qpopper
|
||||
rcvar=qpopper_enable
|
||||
command=%%PREFIX%%/libexec/qpopper
|
||||
command_args="${qpopper_flags}"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
qpopper_enable=${qpopper_enable:-"NO"}
|
||||
|
||||
command=%%PREFIX%%/libexec/qpopper
|
||||
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user