14 start_cmd="sysctl_start"
15 reload_cmd="sysctl_start"
16 lastload_cmd="sysctl_start last"
17 extra_commands="reload lastload"
20 # Read in a file containing sysctl settings and set things accordingly.
25 while read var comments
34 if current_value=`${SYSCTL} -n ${mib} 2>/dev/null`; then
35 case ${current_value} in
39 if ! sysctl "${var}" >/dev/null 2>&1; then
40 warn "unable to set ${var}"
44 elif [ "$2" = "last" ]; then
45 warn "sysctl ${mib} does not exist."
56 parse_file /etc/sysctl.conf $1
57 parse_file /etc/sysctl.conf.local $1