K 10 svn:author V 4 ache K 8 svn:date V 27 2007-03-29T10:55:33.000000Z K 7 svn:log V 498 Fix get_if_var() with 3 args (i.e. with default) All xxx_ flags are set to empty strings automatically earlier so eval echo \${${prefix}${_if}${suffix}-${_default}} not substitute the default but return just the empty string. Fix it using eval echo \${${prefix}${_if}${suffix}:-${_default}} (i.e. treat empty strings as unset) The bug manifistates itself with the following warning from checkyesno(): /etc/rc.d/dhclient: WARNING: $background_dhclient is not set properly - see rc.conf(5) END