summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-01-28 12:20:39 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-01-28 12:20:39 +0000
commit99493941d8780e0d1d941ad32d0649139cff9436 (patch)
tree9b70d1857a923253b01511ed6a7a74bcc7627bd7 /sys-apps/hotplug
parentUpdated coldplug.rc to unpack firmware tarball. This is used by the LiveCD t... (diff)
downloadgentoo-2-99493941d8780e0d1d941ad32d0649139cff9436.tar.gz
gentoo-2-99493941d8780e0d1d941ad32d0649139cff9436.tar.bz2
gentoo-2-99493941d8780e0d1d941ad32d0649139cff9436.zip
Updated hotplug.rc to display a message about unpacking the firmware.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'sys-apps/hotplug')
-rw-r--r--sys-apps/hotplug/ChangeLog5
-rw-r--r--sys-apps/hotplug/files/hotplug.rc14
2 files changed, 14 insertions, 5 deletions
diff --git a/sys-apps/hotplug/ChangeLog b/sys-apps/hotplug/ChangeLog
index 9805cde244a4..a767b2dd4f7c 100644
--- a/sys-apps/hotplug/ChangeLog
+++ b/sys-apps/hotplug/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/hotplug
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hotplug/ChangeLog,v 1.62 2005/01/27 18:29:26 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hotplug/ChangeLog,v 1.63 2005/01/28 12:20:39 wolf31o2 Exp $
+
+ 28 Jan 2005; Chris Gianelloni <wolf31o2@gentoo.org> files/hotplug.rc:
+ Updated hotplug.rc to display a message about unpacking the firmware.
27 Jan 2005; Chris Gianelloni <wolf31o2@gentoo.org>
files/hotplug.rc.empty:
diff --git a/sys-apps/hotplug/files/hotplug.rc b/sys-apps/hotplug/files/hotplug.rc
index 030d34381b39..38bec65a8390 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.10 2004/10/22 04:57:54 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hotplug/files/hotplug.rc,v 1.11 2005/01/28 12:20:39 wolf31o2 Exp $
depend() {
need modules
@@ -16,9 +16,15 @@ 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
+
+ if [ -e /usr/lib/hotplug/firmware.tar.bz2 ]
+ then
+ ebegin "Unpacking hotplug firmware"
+ tar xjf /usr/lib/hotplug/firmware.tar.bz2 -C \
+ /usr/lib/hotplug/firmware
+ eend 0
+ fi
+
for RC in /etc/hotplug/*.rc
do
NAME=`basename $RC .rc`