Subject: how to add variables to be controled by 'sysctl' ?
To: tech-kern@netbsd.org <tech-kern@netbsd.org>
From: suxm <suxm@gnuchina.org>
List: tech-kern
Date: 06/23/2001 12:54:57
I have done something in NetBSD kernel, and I want to turn on or=
 off 
the functions by sysctl. That is to say, use the following=
 command to turn on
my functions:
# sysctl -w my_function=3D1

Would someone like to tell me how to implement it ?

Thank you!

Best regards

sincerely yours
suxm

            suxm@gnuchina.org



        =A1=EE _______   =A1=A4     =A1=EE     
     =C9=A1   =A5=CE____=A5=CE=A1=F5     =A1=F1    =C9=A1  
    =C9=A1=C9=A1  =A3=FC    =A3=FC=A3=FC          =C9=A1=C9=A1 
   =C9=A1=C9=A1=C9=A1 =A1=A5=A1=A5=A1=A5=A1=A5=A1=A5-_   =A1=E2  =C9=A1=C9=A1=C9=A1
     =A1=AC               =A1=A5-=A4=D8    =A1=AC