diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2019-06-15 06:52:37 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-06-15 06:52:37 +0700 |
commit | 5760b351ea46edb7fcaeedc50b40d44618da9991 (patch) | |
tree | 50b486855b448e3bdc5e47846c9ee88947625674 /system/binfmt-support/README | |
parent | cc1f5a2d10b93f346ce7aed80ae1f6c036d49744 (diff) |
system/binfmt-support: Added (Support scripts).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/binfmt-support/README')
-rw-r--r-- | system/binfmt-support/README | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/system/binfmt-support/README b/system/binfmt-support/README new file mode 100644 index 0000000000000..69d913b229e38 --- /dev/null +++ b/system/binfmt-support/README @@ -0,0 +1,26 @@ +binfmt-support + +The binfmt_misc kernel module, contained in versions 2.1.43 and later of the +Linux kernel, allows system administrators to register interpreters for +various binary formats based on a magic number or their file extension, and +cause the appropriate interpreter to be invoked whenever a matching file is +executed. Think of it as a more flexible version of the #! executable +interpreter mechanism. + +binfmt-support provides an update-binfmts script with which package +maintainers can register interpreters to be used with this module without +having to worry about writing their own init.d scripts, and which sysadmins +can use for a slightly higher-level interface to this module. + +To have binfmt-support start and stop with your host, +add to /etc/rc.d/rc.local: + + if [ -x /etc/rc.d/rc.binfmt-support ]; then + /etc/rc.d/rc.binfmt-support start + fi + +and to /etc/rc.d/rc.local_shutdown (creating it if needed): + + if [ -x /etc/rc.d/rc.binfmt-support ]; then + /etc/rc.d/rc.binfmt-support stop + fi |