All pastes #1208304 Raw Edit

clueless

public text v1 · immutable
#1208304 ·published 2008-09-22 12:39 UTC
rendered paste body
Command: cat /etc/init.d/procps.sh#! /bin/sh# /etc/init.d/procps: Set kernel variables from /etc/sysctl.conf## written by Elrond <Elrond@Wunder-Nett.org>### BEGIN INIT INFO# Provides:          procps# Required-Start:    mountkernfs# Required-Stop:# Default-Start:     S# Default-Stop:### END INIT INFO# Check for existance of the default file and exit if not there,# Closes #52839 for the boot-floppy people[ -r /etc/default/rcS ] || exit 0. /etc/default/rcS. /lib/lsb/init-functionsPATH=/sbin:$PATHwhich sysctl > /dev/null || exit 0case "$1" in       start|restart|force-reload)               if [ ! -r /etc/sysctl.conf ]               then                       exit 0               fi	       log_action_begin_msg "Setting kernel variables"               sysctl -q -p	       log_action_end_msg $?               ;;       stop)               ;;       *)               echo "Usage: /etc/init.d/procps.sh {start|stop|restart|force-reload}" >&2               exit 3               ;;esacexit 0