summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/openrc/APKBUILD7
-rw-r--r--main/openrc/local.start4
-rw-r--r--main/openrc/openrc.post-install1
3 files changed, 10 insertions, 2 deletions
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD
index de6437622..a6fab9a3d 100644
--- a/main/openrc/APKBUILD
+++ b/main/openrc/APKBUILD
@@ -1,7 +1,7 @@
# 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"
diff --git a/main/openrc/local.start b/main/openrc/local.start
new file mode 100644
index 000000000..e0ce86071
--- /dev/null
+++ b/main/openrc/local.start
@@ -0,0 +1,4 @@
+
+if [ -f /etc/rc.local ]; then
+ . /etc/rc.local
+fi
diff --git a/main/openrc/openrc.post-install b/main/openrc/openrc.post-install
index 1d0201d3a..1057eed41 100644
--- a/main/openrc/openrc.post-install
+++ b/main/openrc/openrc.post-install
@@ -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