package/skeleton-init-openrc: add support for starting sysv scripts
authorMichał Łyszczek <michal.lyszczek@bofc.pl>
Sun, 4 Aug 2019 12:14:15 +0000 (14:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 23 Sep 2019 20:29:28 +0000 (22:29 +0200)
commit162044407b0f3794cd6d70749ed615de5902c7c3
treeb113a3d8ebeaf8569c4026a414113413fa9c46f8
parentc7123a3088c9d40ba4fb242d734b8bf1ac5dd912
package/skeleton-init-openrc: add support for starting sysv scripts

Add an OpenRC service that starts and stops sysv-init scripts. We order
that script 'after local' so that it is started after all other native
openrc services.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
[yann.morin.1998@free.fr:
  - don't propagate the micro optimisation for running .sh scripts
  - use spaces, not TABs
  - stop services in reverse order
  - reword commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
docs/manual/adding-packages-generic.txt
package/openrc/sysv-rcs [new file with mode: 0755]
package/pkg-generic.mk
package/skeleton-init-openrc/skeleton/etc/runlevels/default/sysv-rcs [new symlink]