look man sysctl

the create sysctl.conf in /etc then create a script in init.d and add SXX and KXX script in your run level directory (normally is 3)