https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238735
Bug ID: 238735
Summary: New RC script to load binmisc activators
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 205249
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205249&action=edit
/etc/rc.d/binmisc
Hello.
I wrote a rc script that wraps binmiscctl(8) to load custom binmisc activators
on boot time automatically.
I think this script may be useful to others, if it could be included in base
system.
Usage:
Put following into 'rc.conf':
binmisc_enable="YES"
binmisc_names="<name> [<name>] [...]"
binmisc_<name>_magic=<magic-bytes>
binmisc_<name>_size="<number>"
binmisc_<name>_interpreter="<path>"
[binmisc_<name>_mask=<mask>]
[binmisc_<name>_offset="<number>"]
Example:
binmisc_enable="YES"
binmisc_names="mono"
binmisc_mono_magic='\x4d\x5a\x90\x00\x03\x00\x00\x00\x04\x00\x00\x00\xff\xff\x00\x00\xb8\x00\x00\x00'
binmisc_mono_size="20"
binmisc_mono_interpreter="/usr/local/bin/mono"
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"