[arch-projects] [initscripts] [PATCH 06/13] rc.single: Call remove_leftover() when going single-user
Kurt J. Bosch
kjb-temp-2009 at alpenjodel.de
Tue Jul 12 12:10:59 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