aboutsummaryrefslogtreecommitdiff
path: root/services/sysfs.in
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-06 18:40:09 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-07 01:33:58 +0200
commit4f4a377d7acb555193566db3ee459adc19e2e6a5 (patch)
treea5b334c458c48864b469dcd60ae9a4aa35ea3739 /services/sysfs.in
parent212d3022e7dc9117351c09d9154d2360fe1eb91f (diff)
Add VFS setup scripts
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
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"