From 4a269674b765e5267f024fa55c8644480a7304ea Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 28 Feb 2017 17:44:06 -0600 Subject: make sure netmount and localmount start after root --- init.d/localmount.in | 4 ++-- init.d/netmount.in | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/init.d/localmount.in b/init.d/localmount.in index cae80c34..9920dc9e 100644 --- a/init.d/localmount.in +++ b/init.d/localmount.in @@ -14,8 +14,8 @@ description="Mounts disks and swap according to /etc/fstab." depend() { need fsck - use lvm modules mtab - after lvm modules + use lvm modules mtab root + after lvm modules root keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver } diff --git a/init.d/netmount.in b/init.d/netmount.in index 7be08e11..96f5d3e0 100644 --- a/init.d/netmount.in +++ b/init.d/netmount.in @@ -20,10 +20,12 @@ depend() *) mywant="$mywant nfsclient"; break ;; esac done + after root config /etc/fstab want $mywant use afc-client amd openvpn use dns + use root keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver } -- cgit v1.2.3