diff options
author | Bill Nottingham <notting@redhat.com> | 2011-09-13 11:01:56 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-09-20 03:35:09 +0200 |
commit | d6bca18e28268485619127024fd944b8497798a7 (patch) | |
tree | 9384869240a83b475f3aa78844ee89cd95f4fa0a /units | |
parent | 67d36a7a2039f1ff7d2d922d4a7c04ea30adc48f (diff) |
units: Add support for automounting configfs, ala debugfs, etc.
Diffstat (limited to 'units')
-rw-r--r-- | units/sys-kernel-config.automount | 15 | ||||
-rw-r--r-- | units/sys-kernel-config.mount | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/units/sys-kernel-config.automount b/units/sys-kernel-config.automount new file mode 100644 index 0000000000..1b4e81117d --- /dev/null +++ b/units/sys-kernel-config.automount @@ -0,0 +1,15 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +[Unit] +Description=Config File System Automount Point +DefaultDependencies=no +Before=sysinit.target +ConditionPathExists=/sys/kernel/config + +[Automount] +Where=/sys/kernel/config diff --git a/units/sys-kernel-config.mount b/units/sys-kernel-config.mount new file mode 100644 index 0000000000..a80d052556 --- /dev/null +++ b/units/sys-kernel-config.mount @@ -0,0 +1,15 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +[Unit] +Description=Config File System +DefaultDependencies=no + +[Mount] +What=configfs +Where=/sys/kernel/config +Type=configfs |