Commit bd325689 authored by Natanael Copa's avatar Natanael Copa

main/openrc: migrate rc.local from 1.8

fixes #172
parent fef64a1d
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openrc
pkgver=0.5.0
pkgrel=10
pkgrel=11
pkgdesc="OpenRC manages the services, startup and shutdown of a host"
url="http://roy.marples.name/openrc"
license='BSD-2'
......@@ -19,6 +19,7 @@ source="http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.bz2
modules.initd
modloop.initd
networking.initd
local.start
"
build() {
......@@ -42,6 +43,7 @@ build() {
install -Dm755 $i "$pkgdir"/etc/init.d/${j%.initd}
done
install -Dm644 ../local.start "$pkgdir"/etc/conf.d/local.start
}
md5sums="9ec7f8425e12abbbd0f7a962aae3fa3c openrc-0.5.0.tar.bz2
......@@ -54,4 +56,5 @@ b1e64885f301166df30be3e3cf5338ff hwdrivers.initd
33ca3e558c42cdd17adccbc7807298f7 keymaps.initd
098a1f16812f56fcb56eb6b6f0fa31f6 modules.initd
4c69d1c6a84cbe0195496c14a757579b modloop.initd
747168eee535e845179eaef5a3fcb334 networking.initd"
747168eee535e845179eaef5a3fcb334 networking.initd
0a615d93aab691364c03539c3b496dcc local.start"
if [ -f /etc/rc.local ]; then
. /etc/rc.local
fi
......@@ -20,6 +20,7 @@ for i in etc/rc[SL].d/*; do
procps) svc=sysctl;;
bootmisc.sh) svc=bootmisc;;
keymap) svc=keymaps;;
rc.local) svc=local;;
*) svc=$oldsvc;;
esac
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment