#!/bin/bash # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/sysctl,v 1.2 2008-12-22 22:01:15 niro Exp $ #%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