diff options
author | jadawin <jadawin@FreeBSD.org> | 2013-01-31 00:01:32 +0800 |
---|---|---|
committer | jadawin <jadawin@FreeBSD.org> | 2013-01-31 00:01:32 +0800 |
commit | 57d42a3dd4bdd998f28411d8a76b85e9aa0e253c (patch) | |
tree | 5bc731092d5572c9a3e3c0d89502af6783e178fc /net-mgmt | |
parent | 062f38606d9c37f889f5cd1ca9ae9deb0d156af0 (diff) | |
download | freebsd-ports-gnome-57d42a3dd4bdd998f28411d8a76b85e9aa0e253c.tar.gz freebsd-ports-gnome-57d42a3dd4bdd998f28411d8a76b85e9aa0e253c.tar.zst freebsd-ports-gnome-57d42a3dd4bdd998f28411d8a76b85e9aa0e253c.zip |
- Fix rc script for fprobe_flags
PR: ports/174539
Submitted by: Olivier Cochard-Labbe <olivier@cochard.me>
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/fprobe/files/fprobe.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net-mgmt/fprobe/files/fprobe.in b/net-mgmt/fprobe/files/fprobe.in index b2cff48f2b11..f791fd19639f 100644 --- a/net-mgmt/fprobe/files/fprobe.in +++ b/net-mgmt/fprobe/files/fprobe.in @@ -18,11 +18,12 @@ name="%%NAME%%" rcvar=%%NAME%%_enable -command="%%PREFIX%%/sbin/fprobe" -command_args="-i lo0 127.0.0.1:2055" -pidfile="/var/run/$name.pid" - load_rc_config "$name" + : ${fprobe_enable="NO"} +: ${fprobe_flags:="-i lo0 127.0.0.1:2055"} + +command="%%PREFIX%%/sbin/fprobe" +pidfile="/var/run/$name.pid" run_rc_command "$1" |