summaryrefslogtreecommitdiff
path: root/services/sysfs.in
diff options
context:
space:
mode:
Diffstat (limited to 'services/sysfs.in')
-rw-r--r--services/sysfs.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/services/sysfs.in b/services/sysfs.in
new file mode 100644
index 0000000..4c0f6ce
--- /dev/null
+++ b/services/sysfs.in
@@ -0,0 +1,11 @@
+description "mount /sys"
+type wait
+target boot
+after procfs
+before vfs
+
+exec "@SBINPATH@/mount" -t sysfs sysfs /sys
+exec "@SCRIPTDIR@/trymount.sh" "/sys/kernel/security" "securityfs" "nodev,noexec,nosuid"
+exec "@SCRIPTDIR@/trymount.sh" "/sys/kernel/config" "configfs" "nodev,noexec,nosuid"
+exec "@SCRIPTDIR@/trymount.sh" "/sys/fs/fuse/connections" "fusectl" "nodev,noexec,nosuid"
+exec "@SCRIPTDIR@/trymount.sh" "/sys/firmware/efi/efivars" "efivarfs" "ro"