SVN: rc-scripts/trunk/rc.d/init.d: cpusets local network random single
glen
glen at pld-linux.org
Thu Jul 8 12:47:59 CEST 2010
Author: glen
Date: Thu Jul 8 12:47:58 2010
New Revision: 11639
Modified:
rc-scripts/trunk/rc.d/init.d/cpusets
rc-scripts/trunk/rc.d/init.d/local
rc-scripts/trunk/rc.d/init.d/network
rc-scripts/trunk/rc.d/init.d/random
rc-scripts/trunk/rc.d/init.d/single
Log:
- ignore /var/lock/subsys remove readonly fs errors (after fsck wants to reboot system)
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 Thu Jul 8 12:47:58 2010
@@ -99,7 +99,7 @@
fi
done
- rm -f /var/lock/subsys/cpusets
+ rm -f /var/lock/subsys/cpusets >/dev/null 2>&1
}
# Get list of config files
Modified: rc-scripts/trunk/rc.d/init.d/local
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/local (original)
+++ rc-scripts/trunk/rc.d/init.d/local Thu Jul 8 12:47:58 2010
@@ -19,7 +19,7 @@
touch /var/lock/subsys/local
;;
stop)
- rm -f /var/lock/subsys/local
+ rm -f /var/lock/subsys/local >/dev/null 2>&1
;;
status)
if [ -f /var/lock/subsys/local ]; then
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 Thu Jul 8 12:47:58 2010
@@ -252,7 +252,7 @@
network_deinit
- rm -f /var/lock/subsys/network
+ rm -f /var/lock/subsys/network >/dev/null 2>&1
emit --no-wait pld.network-stopped
}
@@ -345,7 +345,7 @@
stop)
if is_yes "$VSERVER"; then
emit pld.network-stopping
- rm -f /var/lock/subsys/network
+ rm -f /var/lock/subsys/network >/dev/null 2>&1
emit pld.network-stopped
exit 0
fi
Modified: rc-scripts/trunk/rc.d/init.d/random
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/random (original)
+++ rc-scripts/trunk/rc.d/init.d/random Thu Jul 8 12:47:58 2010
@@ -60,7 +60,7 @@
chmod 600 $random_seed
dd if=/dev/urandom of=$random_seed count=1 bs=$bytes 2>/dev/null
- rm -f /var/lock/subsys/random
+ rm -f /var/lock/subsys/random >/dev/null 2>&1
deltext
ok
emit --no-wait stopped JOB=random
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 Thu Jul 8 12:47:58 2010
@@ -27,7 +27,7 @@
sleep 5
run_cmd "Sending all processes the KILL signal" killall5 -9
- rm -f /var/lock/subsys/*
+ rm -f /var/lock/subsys/* >/dev/null 2>&1
# this looks nicer
[ -x /usr/bin/clear ] && /usr/bin/clear
More information about the pld-cvs-commit
mailing list