mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-17 03:55:45 +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
|
Description=Huge Pages File System Automount Point
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Before=sysinit.target
|
Before=sysinit.target
|
||||||
|
ConditionPathExists=/sys/kernel/mm/hugepages
|
||||||
|
|
||||||
[Automount]
|
[Automount]
|
||||||
Where=/dev/hugepages
|
Where=/dev/hugepages
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
Description=POSIX Message Queue File System Automount Point
|
Description=POSIX Message Queue File System Automount Point
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Before=sysinit.target
|
Before=sysinit.target
|
||||||
|
ConditionPathExists=/proc/sys/fs/mqueue
|
||||||
|
|
||||||
[Automount]
|
[Automount]
|
||||||
Where=/dev/mqueue
|
Where=/dev/mqueue
|
||||||
|
Loading…
Reference in New Issue
Block a user