#!/bin/sh source /etc/init.d/functions case "$1" in start) if [ ! -f /etc/sysconfig/sysctl.conf ];then touch /etc/sysconfig/sysctl.conf fi echo -n "setting up sysctl" loadproc /sbin/sysctl -q -e -p /etc/sysconfig/sysctl.conf ;; stop) ;; restart) $0 stop sleep 1 $0 start ;; *) echo "Usage: $0: {start|stop|restart}" exit 1 ;; esac