diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2009-11-13 17:17:54 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2009-11-13 17:17:54 +0000 |
commit | 118e9d3fb1945ec8a81669c99b16132cb8ac0b37 (patch) | |
tree | eed176c6f370d539ae3424601ce4a0bd34f9976c | |
parent | Stable for ppc. (diff) | |
download | gentoo-2-118e9d3fb1945ec8a81669c99b16132cb8ac0b37.tar.gz gentoo-2-118e9d3fb1945ec8a81669c99b16132cb8ac0b37.tar.bz2 gentoo-2-118e9d3fb1945ec8a81669c99b16132cb8ac0b37.zip |
Make script work better with baselayout-1.
(Portage version: 2.2_rc49/cvs/Linux i686)
-rw-r--r-- | sys-fs/udev/ChangeLog | 6 | ||||
-rw-r--r-- | sys-fs/udev/files/147/udev-start.sh | 4 | ||||
-rw-r--r-- | sys-fs/udev/files/147/udev.initd | 1 |
3 files changed, 10 insertions, 1 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog index 8dfc68e4a9c5..00699986343e 100644 --- a/sys-fs/udev/ChangeLog +++ b/sys-fs/udev/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-fs/udev # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.505 2009/11/11 19:15:28 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.506 2009/11/13 17:17:54 zzam Exp $ + + 13 Nov 2009; Matthias Schwarzott <zzam@gentoo.org> files/147/udev.initd, + files/147/udev-start.sh: + Make script work better with baselayout-1. *udev-147 (11 Nov 2009) *udev-146-r2 (11 Nov 2009) diff --git a/sys-fs/udev/files/147/udev-start.sh b/sys-fs/udev/files/147/udev-start.sh index f65c2f79c3e1..e927e8c14427 100644 --- a/sys-fs/udev/files/147/udev-start.sh +++ b/sys-fs/udev/files/147/udev-start.sh @@ -30,6 +30,10 @@ start_initd() ) } +# set it as openrc does +RC_BOOTLEVEL=${BOOTLEVEL:-default} +RC_DEFAULTLEVEL=${DEFAULTLEVEL:-default} + # mount tmpfs on /dev start_initd udev-mount || exit 1 diff --git a/sys-fs/udev/files/147/udev.initd b/sys-fs/udev/files/147/udev.initd index 16b00894cd4d..6ce140e5c562 100644 --- a/sys-fs/udev/files/147/udev.initd +++ b/sys-fs/udev/files/147/udev.initd @@ -61,6 +61,7 @@ rules_disable_switch() fi } +# only called on openrc is_service_enabled() { local svc="$1" |