[arch-projects] [initscripts] [PATCH 6/7] rc.single: Call to remove_leftover() when going single-user

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Mon Jul 11 17:43:47 EDT 2011


This avoids trouble because of stale /run/daemons/* files.
---
 rc.single |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/rc.single b/rc.single
index 7a87c72..3527a99 100755
--- a/rc.single
+++ b/rc.single
@@ -23,6 +23,9 @@ if [[ $PREVLEVEL != N ]]; then
 
 	# Start/trigger UDev, load MODULES and settle UDev
 	udevd_modprobe single
+	
+	# Removing leftover files
+	remove_leftover
 fi
 
 run_hook single_end
-- 
1.7.1



More information about the arch-projects mailing list