From 3e68013631765e00eddf118bc24e38254e7f6d64 Mon Sep 17 00:00:00 2001 From: Scall Date: Tue, 6 Mar 2018 02:16:26 +0100 Subject: 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. --- init.d/swap.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d') 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 } -- cgit v1.2.3