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/files
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/files')
-rw-r--r--sys-apps/hotplug/files/hotplug.rc6
1 files changed, 4 insertions, 2 deletions
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`