Magellan Linux

Diff of /trunk/magellan-initscripts/etc/rc.d/init.d/sysctl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1250 by niro, Thu Nov 5 12:57:14 2009 UTC revision 1251 by niro, Fri Mar 11 17:19:23 2011 UTC
# Line 17  case "$1" in Line 17  case "$1" in
17   start)   start)
18   if [ -f /etc/sysctl.conf ]   if [ -f /etc/sysctl.conf ]
19   then   then
20   echo -e ${COLOREDSTAR}"Setting kernel runtime parameters ..."   rc_print "Setting kernel runtime parameters ..."
21   sysctl -q -p   sysctl -q -p
22   evaluate_retval   evaluate_retval
23                  fi                  fi
# Line 31  case "$1" in Line 31  case "$1" in
31   ;;   ;;
32    
33   *)   *)
34   echo "Usage: $0 {start|status}"   rc_echo "Usage: $0 {start|status}"
35   exit 1   exit 1
36   ;;   ;;
37  esac  esac

Legend:
Removed from v.1250  
changed lines
  Added in v.1251