aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2016-01-15 17:18:53 +0800
committergahr <gahr@FreeBSD.org>2016-01-15 17:18:53 +0800
commitac2adfd970c652d98613aa99435453c921170924 (patch)
tree4e57d452f64a5f97e55bc2c88fb72c41b8fe630e /security
parentf27c0fdb2f475959f0a149cc86e42b2a76bd6da3 (diff)
downloadfreebsd-ports-gnome-ac2adfd970c652d98613aa99435453c921170924.tar.gz
freebsd-ports-gnome-ac2adfd970c652d98613aa99435453c921170924.tar.zst
freebsd-ports-gnome-ac2adfd970c652d98613aa99435453c921170924.zip
security/dropbear: support extra arguments in rc.conf
PR: 206211 Submitted by: gahr Approved by: pkubaj@anongoth.pl (maintainer)
Diffstat (limited to 'security')
-rw-r--r--security/dropbear/files/dropbear.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/dropbear/files/dropbear.in b/security/dropbear/files/dropbear.in
index 3f5495794910..f992c86559d9 100644
--- a/security/dropbear/files/dropbear.in
+++ b/security/dropbear/files/dropbear.in
@@ -56,7 +56,8 @@ dropbear_precmd()
load_rc_config $name
: ${dropbear_enable="NO"}
+: ${dropbear_args:=""}
-command_args="-P $pidfile"
+command_args="-P $pidfile $dropbear_args"
run_rc_command "$1"