summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-12-11 19:10:50 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-12-11 19:10:50 +0000
commitf3b80fa953b9180ada3dc973563b5f36565ca1dd (patch)
tree3e5c53ec68fabe729f38fbffe28929365a9484a1 /sys-apps/baselayout
parentNew. JPEG Library with MMX enhancements. (diff)
downloadgentoo-2-f3b80fa953b9180ada3dc973563b5f36565ca1dd.tar.gz
gentoo-2-f3b80fa953b9180ada3dc973563b5f36565ca1dd.tar.bz2
gentoo-2-f3b80fa953b9180ada3dc973563b5f36565ca1dd.zip
force clean restart of devfsd, else the error message is not displayed
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r--sys-apps/baselayout/baselayout-1.6.7-r1.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys-apps/baselayout/baselayout-1.6.7-r1.ebuild b/sys-apps/baselayout/baselayout-1.6.7-r1.ebuild
index 3d99ae8a870a..6c5796c56850 100644
--- a/sys-apps/baselayout/baselayout-1.6.7-r1.ebuild
+++ b/sys-apps/baselayout/baselayout-1.6.7-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: System Team <system@gentoo.org>
# Author: Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.6.7-r1.ebuild,v 1.5 2001/12/11 04:15:58 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.6.7-r1.ebuild,v 1.6 2001/12/11 19:10:50 azarah Exp $
SV=1.2.2
S=${WORKDIR}/rc-scripts-${SV}
@@ -308,10 +308,15 @@ pkg_postinst() {
#symlinks (to /dev/sound/*, etc) and cause problems.
if [ -z "`use build`" ]
then
+ #force clean start of devfsd (we want it to fail on start
+ #when the version is < 1.3.20 to display notice ...)
if [ "`ps -A |grep devfsd`" ]
then
- killall -HUP devfsd >/dev/null 2>&1
- elif [ -x /sbin/devfsd ]
+ killall devfsd >/dev/null 2>&1
+ sleep 1
+ fi
+
+ if [ -x /sbin/devfsd ]
then
/sbin/devfsd /dev >/dev/null 2>&1
fi