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.
This commit is contained in:
Scall 2018-03-06 02:16:26 +01:00 committed by Doug Freed
parent b46123f2e1
commit 3e68013631

View File

@ -11,7 +11,7 @@
depend() depend()
{ {
after clock after clock root
before localmount before localmount
keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -vserver keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -vserver
} }