init-scripts/services/sysfs.in

14 lines
407 B
Plaintext
Raw Permalink Normal View History

description "mount /sys"
type wait
target boot
after procfs
before vfs
exec {
mount -t sysfs sysfs /sys
"@SCRIPTDIR@/trymount.sh" /sys/kernel/security securityfs nodev,noexec,nosuid
"@SCRIPTDIR@/trymount.sh" /sys/kernel/config configfs nodev,noexec,nosuid
"@SCRIPTDIR@/trymount.sh" /sys/fs/fuse/connections fusectl nodev,noexec,nosuid
"@SCRIPTDIR@/trymount.sh" /sys/firmware/efi/efivars efivarfs ro
}