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

Noticed by:	pjd
MFC after:	3 days
This commit is contained in:
Maksim Yevmenkin 2005-11-22 19:17:41 +00:00
parent e08872c40b
commit f5937f20c1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152690
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