OpenRC: add changes to support vmware-tools out-of-the-box.

- Create /etc/init.d/fake-rc.d and rc[0-6].d symlinks.
  The vmware-tools script will be installed here.
- In /etc/conf.d/local by default will start/stop
  /etc/init.d/vmware-tools if exists.

Bump revision.

--HG--
extra : convert_revision : df7205367d95b31ded11872ce88f88cf5dbf0764
This commit is contained in:
Juan RP
2009-11-27 03:35:43 +01:00
parent 6b5b8abfcf
commit 8c917e47f7
2 changed files with 35 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
# Template file for 'OpenRC'
pkgname=OpenRC
version=0.5.2
revision=1
revision=2
wrksrc=openrc-${version}
distfiles="http://roy.marples.name/downloads/openrc/openrc-$version.tar.bz2"
build_style=gnu_makefile
@@ -49,4 +49,11 @@ post_install()
install -d ${DESTDIR}/etc/default
mv ${DESTDIR}/etc/rc.conf ${DESTDIR}/etc/default
install -m 644 ${FILESDIR}/rc.conf ${DESTDIR}/etc
#
# Create a fake rc.d directory with links to mimic old sysvinit
# runlevel stuff.
install -d ${DESTDIR}/etc/init.d/fake-rc.d
for f in 0 1 2 3 4 5 6; do
cd ${DESTDIR}/etc/init.d && ln -s fake-rc.d rc${f}.d
done
}