diff options
Diffstat (limited to 'net/freeradius2/files/radiusd.sh.in')
-rw-r--r-- | net/freeradius2/files/radiusd.sh.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/freeradius2/files/radiusd.sh.in b/net/freeradius2/files/radiusd.sh.in index 6e623e392c0d..066993ebb965 100644 --- a/net/freeradius2/files/radiusd.sh.in +++ b/net/freeradius2/files/radiusd.sh.in @@ -30,13 +30,14 @@ debug_cmd="radiusd_debug" # The radiusd_config parameter is now obsolete. Instead, derive the # configuration directory name from radiusd_flags if possible, otherwise # default to %%PREFIX%%/etc/raddb -required_dirs=`echo ${radiusd_flags} | sed -Ee 's:.*\-[^[:space:]d]*d[[:space:]]*([^[:space:]]+).*:\1:'` +required_dirs=`echo ${radiusd_flags} | sed -Ene 's:.*\-[^[:space:]d]*d[[:space:]]*([^[:space:]]+).*:\1:p'` required_dirs=${required_dirs:-"%%PREFIX%%/etc/raddb"} required_files="${required_dirs}/radiusd.conf" radiusd_enable=${radiusd_enable-"NO"} +command_args="&" radiusd_debug() { |