aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScall <Scall@users.noreply.github.com>2018-03-06 02:16:26 +0100
committerDoug Freed <dwfreed@mtu.edu>2018-03-05 20:16:26 -0500
commit3e68013631765e00eddf118bc24e38254e7f6d64 (patch)
tree4fda319b20dfc1ce4ca5214061e3234b94639596
parentb46123f2e19a5eb8dc02b898e8c20a2ccc211615 (diff)
init.d: swap should always be started after root
Otherwise if a swap file is being used, and swap is started before root, swapon may fail because of a read-only filesystem.
-rw-r--r--init.d/swap.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/swap.in b/init.d/swap.in
index 546cb5f5..c40b263d 100644
--- a/init.d/swap.in
+++ b/init.d/swap.in
@@ -11,7 +11,7 @@
depend()
{
- after clock
+ after clock root
before localmount
keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -vserver
}