aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'init.d')
-rw-r--r--init.d/localmount.in4
-rw-r--r--init.d/netmount.in2
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
}