summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-10-22 04:57:54 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-10-22 04:57:54 +0000
commit10a88cbe041572ff8c0c95cecdf5129b49f8d1f0 (patch)
treecf1e0f350a5046769141aac8fea5b6246054c45a /sys-apps/hotplug
parentAdded missing ppc64 KEYWORD. (Manifest recommit) (diff)
downloadgentoo-2-10a88cbe041572ff8c0c95cecdf5129b49f8d1f0.tar.gz
gentoo-2-10a88cbe041572ff8c0c95cecdf5129b49f8d1f0.tar.bz2
gentoo-2-10a88cbe041572ff8c0c95cecdf5129b49f8d1f0.zip
Added a check for livecd firmware tarball on disk.
Diffstat (limited to 'sys-apps/hotplug')
-rw-r--r--sys-apps/hotplug/ChangeLog5
-rw-r--r--sys-apps/hotplug/files/hotplug.rc6
2 files changed, 8 insertions, 3 deletions
diff --git a/sys-apps/hotplug/ChangeLog b/sys-apps/hotplug/ChangeLog
index 39156fa0dede..4237279eb11d 100644
--- a/sys-apps/hotplug/ChangeLog
+++ b/sys-apps/hotplug/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/hotplug
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hotplug/ChangeLog,v 1.50 2004/10/14 18:30:47 gregkh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hotplug/ChangeLog,v 1.51 2004/10/22 04:57:54 wolf31o2 Exp $
+
+ 22 Oct 2004; Chris Gianelloni <wolf31o2@gentoo.org> files/hotplug.rc:
+ Added a check for livecd firmware tarball on disk.
14 Oct 2004; Greg Kroah-Hartman <gregkh@gentoo.org>
hotplug-20040923.ebuild:
diff --git a/sys-apps/hotplug/files/hotplug.rc b/sys-apps/hotplug/files/hotplug.rc
index 376aa4ae102e..030d34381b39 100644
--- a/sys-apps/hotplug/files/hotplug.rc
+++ b/sys-apps/hotplug/files/hotplug.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hotplug/files/hotplug.rc,v 1.9 2004/07/15 00:43:30 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hotplug/files/hotplug.rc,v 1.10 2004/10/22 04:57:54 wolf31o2 Exp $
depend() {
need modules
@@ -16,7 +16,9 @@ checkconfig() {
start() {
checkconfig || return 1
-
+ [ -e /usr/lib/hotplug/firmware.tar.bz2 ] && \
+ tar xjf /usr/lib/hotplug/firmware.tar.bz2 -C \
+ /usr/lib/hotplug/firmware
for RC in /etc/hotplug/*.rc
do
NAME=`basename $RC .rc`