aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-02-28 17:44:06 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-02-28 17:44:06 -0600
commit4a269674b765e5267f024fa55c8644480a7304ea (patch)
tree1718eba100133a6bb064ba8b99c2d37f8f87a33b
parentnet-online: typo fix (diff)
downloadopenrc-4a269674b765e5267f024fa55c8644480a7304ea.zip
openrc-4a269674b765e5267f024fa55c8644480a7304ea.tar.gz
openrc-4a269674b765e5267f024fa55c8644480a7304ea.tar.bz2
make sure netmount and localmount start after root
-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 cae80c3..9920dc9 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 7be08e1..96f5d3e 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
}