Remove not needed redirection of kldstat -q output to /dev/null.

Noticed by:	pjd
MFC after:	3 days
This commit is contained in:
emax 2005-11-22 19:17:41 +00:00
parent 3afbecfca5
commit 24ecba159a
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ start_precmd="hcsecd_prestart"
hcsecd_prestart()
{
if ! kldstat -q -m ng_btsocket > /dev/null 2>&1 ; then
if ! kldstat -q -m ng_btsocket ; then
if kldload ng_btsocket > /dev/null 2>&1 ; then
info 'ng_btsocket module loaded'
else

View File

@ -17,7 +17,7 @@ start_precmd="sdpd_prestart"
sdpd_prestart()
{
if ! kldstat -q -m ng_btsocket > /dev/null 2>&1 ; then
if ! kldstat -q -m ng_btsocket ; then
if kldload ng_btsocket > /dev/null 2>&1 ; then
info 'ng_btsocket module loaded'
else