#!/bin/bash # $Id$ #%rlevels: 7:s #%start: 90 #%stop: #deps #%needs: #%before: #%after: source /etc/conf.d/rc source ${rc_functions} case "$1" in start) if [ -f /etc/sysctl.conf ] then echo -e ${COLOREDSTAR}"Setting kernel runtime parameters ..." sysctl -q -p evaluate_retval fi update_svcstatus $1 splash svc_started "$(basename $0)" 0 ;; status) sysctl -a ;; *) echo "Usage: $0 {start|status}" exit 1 ;; esac