1 #!/bin/sh 2 # 3 # $NetBSD: sysctl,v 1.2 2000/04/08 23:02:54 tsarna Exp $ 4 # 5 6 # PROVIDE: sysctl 7 # REQUIRE: root ipnat 8 9 . /etc/rc.subr 10 . /etc/rc.conf 11 12 name="sysctl" 13 start_cmd="sysctl_start" 14 stop_cmd=":" 15 16 sysctl_start() 17 { 18 if [ -r /etc/sysctl.conf ]; then 19 echo "Setting sysctl variables:" 20 sysctl -f /etc/sysctl.conf 21 fi 22 } 23 24 run_rc_command "$1" 25