aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-07-11 20:56:21 (GMT)
committerKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-07-12 15:22:45 (GMT)
commit8a8163bf69ac0966e7a8b6eec49196e2d366b7a6 (patch)
treea08c16a81be86a7ccca8512f4c4a0143ffcb9a45
parentd980c23c0a5e9020402cd944c701f4e1f44d208d (diff)
downloadinitscripts-8a8163bf69ac0966e7a8b6eec49196e2d366b7a6.tar.xz
rc.single: Call remove_leftover() when going single-user
This avoids trouble because of stale /run/daemons/* files.
-rwxr-xr-xrc.single3
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