aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-12-21 13:45:45 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-12-21 13:45:45 -0600
commit38bb62cf141070cc62ee1052abecd6dcaa9d74c1 (patch)
treee70a62825fbf8673d93a48c9eca7d8416d3c23b7
parentRelease udev-gentoo-scripts 6 (diff)
downloadudev-gentoo-scripts-38bb62cf141070cc62ee1052abecd6dcaa9d74c1.tar.gz
udev-gentoo-scripts-38bb62cf141070cc62ee1052abecd6dcaa9d74c1.tar.bz2
udev-gentoo-scripts-38bb62cf141070cc62ee1052abecd6dcaa9d74c1.zip
add -lxc and -vserver keywords to udev-mount and udev-postmount
udev-mount and udev-postmount do not run in vserver or lxc environments.
-rw-r--r--init.d/udev-mount5
-rw-r--r--init.d/udev-postmount1
2 files changed, 6 insertions, 0 deletions
diff --git a/init.d/udev-mount b/init.d/udev-mount
index bf08587..62742bd 100644
--- a/init.d/udev-mount
+++ b/init.d/udev-mount
@@ -4,6 +4,11 @@
description="mount devtmpfs or tmpfs on /dev"
+depend()
+{
+ keyword -vserver -lxc
+}
+
mount_dev_directory()
{
if mountinfo -q /dev; then
diff --git a/init.d/udev-postmount b/init.d/udev-postmount
index 41c14c1..d689681 100644
--- a/init.d/udev-postmount
+++ b/init.d/udev-postmount
@@ -13,6 +13,7 @@ depend()
if [ $(udev_version) -lt 175 ]; then
after dbus # for trigger failed
fi
+ keyword -vserver -lxc
}
dir_writeable()