| 1 |
# binfmt-support - Support for extra binary formats |
| 2 |
# |
| 3 |
# Copyright (C) 2010, 2011, 2013 Colin Watson. |
| 4 |
# |
| 5 |
# This file is part of binfmt-support. |
| 6 |
# |
| 7 |
# binfmt-support is free software; you can redistribute it and/or modify it |
| 8 |
# under the terms of the GNU General Public License as published by the |
| 9 |
# Free Software Foundation; either version 3 of the License, or (at your |
| 10 |
# option) any later version. |
| 11 |
# |
| 12 |
# binfmt-support is distributed in the hope that it will be useful, but |
| 13 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
| 15 |
# Public License for more details. |
| 16 |
# |
| 17 |
# You should have received a copy of the GNU General Public License along |
| 18 |
# with binfmt-support; if not, write to the Free Software Foundation, Inc., |
| 19 |
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 |
# |
| 21 |
# Enable support for extra binary formats using the Linux kernel's |
| 22 |
# binfmt_misc facility. |
| 23 |
|
| 24 |
description "Enabling additional executable binary formats" |
| 25 |
author "Colin Watson <[email protected]>" |
| 26 |
|
| 27 |
start on filesystem |
| 28 |
|
| 29 |
pre-start exec @sbindir@/update-binfmts --enable |
| 30 |
post-stop exec @sbindir@/update-binfmts --disable |