You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
405 B
Plaintext
16 lines
405 B
Plaintext
# mounted-debugfs - Fix perms on /sys/kernel/debug filesystem
|
|
#
|
|
# Since /sys/kernel/debug should not be used on production systems,
|
|
# this makes sure that the tree is kept accessible only by root.
|
|
|
|
description "Fix-up /sys/kernel/debug filesystem"
|
|
|
|
start on mounted MOUNTPOINT=/sys/kernel/debug TYPE=debugfs
|
|
env MOUNTPOINT=/sys/kernel/debug
|
|
|
|
task
|
|
|
|
script
|
|
chmod 0700 "${MOUNTPOINT}" || true
|
|
end script
|