diff options
Diffstat (limited to 'init.d/binfmt.in')
-rw-r--r-- | init.d/binfmt.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/init.d/binfmt.in b/init.d/binfmt.in new file mode 100644 index 00000000..651b1315 --- /dev/null +++ b/init.d/binfmt.in @@ -0,0 +1,20 @@ +#!@SBINDIR@/openrc-run +# Copyright 2015 William Hubbs <w.d.hubbs@gmail.com> +# Released under the 2-clause BSD license. + +description="Register misc binary format handlers" + +depend() +{ + after procfs + use modules devfs + keyword -openvz -prefix -vserver -lxc +} + +start() +{ + ebegin "Loading custom binary format handlers" + "$RC_LIBEXECDIR"/sh/binfmt.sh + eend $? +return 0 +} |