Fix warning.
PR: 96818 Submitted by: Artis Caune <Artis.Caune@latnet.lv> Approved by: maintainer
This commit is contained in:
parent
9f20546cd5
commit
ca057e2593
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161419
1 changed files with 7 additions and 7 deletions
|
@ -21,6 +21,13 @@
|
|||
name="dspam"
|
||||
rcvar=${name}_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
#defaults
|
||||
: ${dspam_enable="NO"}
|
||||
: ${dspam_debug="NO"}
|
||||
: ${dspam_pidfile:-/var/run/dspam.pid}
|
||||
|
||||
command=%%PREFIX%%/bin/${name}
|
||||
if checkyesno dspam_debug
|
||||
then
|
||||
|
@ -37,11 +44,4 @@ reload()
|
|||
kill -HUP `cat $pidfile`
|
||||
}
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
#defaults
|
||||
: ${dspam_enable="NO"}
|
||||
: ${dspam_debug="NO"}
|
||||
: ${dspam_pidfile:-/var/run/dspam.pid}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
|
Loading…
Reference in a new issue