2
# /etc/init.d/procps: Set kernel variables from /etc/sysctl.conf
4
# written by Elrond <Elrond@Wunder-Nett.org>
6
# Check for existance of the default file and exit if not there,
7
# Closes #52839 for the boot-floppy people
8
[ -r /etc/default/rcS ] || exit 0
11
[ -x /sbin/sysctl ] || exit 0
15
start|reload|restart|force-reload)
16
if [ ! -r /etc/sysctl.conf ]
20
if [ "$VERBOSE" = "no" ]
25
echo "Setting kernel variables ..."
29
eval "/sbin/sysctl $n -p $redir"
35
echo "Usage: /etc/init.d/procps.sh {start|stop|reload|restart}" >&2