kernel - how to make magic/sysrq across reboot? -


sysctl kernel.sysrq=1 makes work on arch. on reboot goes again.

i write 1 vlaue file echo 1 > /proc/sys/kernel/sysrq temporary unfortunately. looking permanent way.

is there way, and not command after reboot. can bind reisub shortcut key of command line.

any suitable way , should thought out.

how work inside kernel. in ubuntu enabled default, how did manage enable it?

  • concerning sysrq:
    on ubuntu there file /etc/sysctl.d/10-magic-sysrq.conf sets kernel.sysrq. files there extension settings in /etc/sysctl.conf.
    suspect can use these files in arch, too. further information consider manpages of man sysctl , man sysctl.conf.
  • concerning arbitrary commands:
    on ubuntu can put them e.g. in /etc/init.d/rc.local. search rc.local support on arch.

Comments