mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-16 19:47:24 +07:00
units: enable dev-hugepages.automount and dev-mqueue.automount only when enabled in kernel
This commit is contained in:
parent
dee87d612d
commit
26b8e979c8
@ -9,6 +9,7 @@
|
||||
Description=Huge Pages File System Automount Point
|
||||
DefaultDependencies=no
|
||||
Before=sysinit.target
|
||||
ConditionPathExists=/sys/kernel/mm/hugepages
|
||||
|
||||
[Automount]
|
||||
Where=/dev/hugepages
|
||||
|
@ -9,6 +9,7 @@
|
||||
Description=POSIX Message Queue File System Automount Point
|
||||
DefaultDependencies=no
|
||||
Before=sysinit.target
|
||||
ConditionPathExists=/proc/sys/fs/mqueue
|
||||
|
||||
[Automount]
|
||||
Where=/dev/mqueue
|
||||
|
Loading…
Reference in New Issue
Block a user