#!/bin/bash # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/sysctl,v 1.1 2006-04-14 13:55:37 niro Exp $ #%rlevels: 7:s #%start: 90 #%stop: #deps #%needs: #%before: #%after: source /etc/sysconfig/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