#!/bin/sh # # Read in /etc/sysctl.conf and set things accordingly # # $FreeBSD$ if [ -f /etc/sysctl.conf ]; then sed ' /^[ ]*#/d /^[ ]*$/d s/#.*$//g ' /etc/sysctl.conf | while read var do sysctl -w ${var} done fi