SVN: rc-scripts/trunk/rc.d/init.d: cpusets network single
glen
glen at pld-linux.org
Sun Sep 17 15:24:24 CEST 2006
Author: glen
Date: Sun Sep 17 15:24:24 2006
New Revision: 7759
Modified:
rc-scripts/trunk/rc.d/init.d/cpusets
rc-scripts/trunk/rc.d/init.d/network
rc-scripts/trunk/rc.d/init.d/single
Log:
Sane $PATH is initialized in init.d/functions.
Modified: rc-scripts/trunk/rc.d/init.d/cpusets
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/cpusets (original)
+++ rc-scripts/trunk/rc.d/init.d/cpusets Sun Sep 17 15:24:24 2006
@@ -10,8 +10,6 @@
# $Id$
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
-
# Source function library.
. /etc/rc.d/init.d/functions
Modified: rc-scripts/trunk/rc.d/init.d/network
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/network (original)
+++ rc-scripts/trunk/rc.d/init.d/network Sun Sep 17 15:24:24 2006
@@ -10,8 +10,6 @@
# $Id$
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
-
# Source function library.
. /etc/rc.d/init.d/functions
. /etc/sysconfig/network-scripts/functions.network
Modified: rc-scripts/trunk/rc.d/init.d/single
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/single (original)
+++ rc-scripts/trunk/rc.d/init.d/single Sun Sep 17 15:24:24 2006
@@ -14,9 +14,7 @@
#
# $Id$
-# Set the path.
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-
+# Source function library.
. /etc/rc.d/init.d/functions
case "$1" in
@@ -24,7 +22,7 @@
exit 0
;;
start*)
-# Kill all processes.
+ # Kill all processes.
[ "${BASH+bash}" = bash ] && enable kill
run_cmd "Sending all processes the TERM signal" killall5 -15
@@ -33,7 +31,7 @@
rm -f /var/lock/subsys/*
- # this looks nices
+ # this looks nicer
[ -x /usr/bin/clear ] && /usr/bin/clear
# make sure modprobe is working
More information about the pld-cvs-commit
mailing list