summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-06-18 08:07:53 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-06-18 08:07:53 +0000
commit06846ebb40128ad9d0322b2faa9a55996662ec55 (patch)
tree04329cf67e9bf9c228ccddf66089e2a69fa09bca /media-sound
parentFixes #53657. (diff)
downloadhistorical-06846ebb40128ad9d0322b2faa9a55996662ec55.tar.gz
historical-06846ebb40128ad9d0322b2faa9a55996662ec55.tar.bz2
historical-06846ebb40128ad9d0322b2faa9a55996662ec55.zip
Fix return value for success of modules_unload. Redirect stdout and stderr for rmmod. Closes bug #54274.
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/alsa-utils/ChangeLog6
-rw-r--r--media-sound/alsa-utils/Manifest22
-rw-r--r--media-sound/alsa-utils/files/alsasound11
3 files changed, 23 insertions, 16 deletions
diff --git a/media-sound/alsa-utils/ChangeLog b/media-sound/alsa-utils/ChangeLog
index f4511e8f6297..e18e035209e5 100644
--- a/media-sound/alsa-utils/ChangeLog
+++ b/media-sound/alsa-utils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/alsa-utils
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.56 2004/06/08 02:34:45 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.57 2004/06/18 08:07:53 eradicator Exp $
+
+ 18 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> files/alsasound:
+ Fix return value for success of modules_unload. Redirect stdout and
+ stderr for rmmod. Closes bug #54274.
07 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> files/alsasound:
Small beautification changes to init script.
diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest
index 23b52b861b19..047113c234dd 100644
--- a/media-sound/alsa-utils/Manifest
+++ b/media-sound/alsa-utils/Manifest
@@ -1,15 +1,19 @@
-MD5 0a3ad1402c1a17018d3c37b34fbd4b7d alsa-utils-0.9.2.ebuild 794
-MD5 e7a2004346c34727c16f0428b5c4034c alsa-utils-1.0.4.ebuild 1801
+MD5 951cbaa9c665e1aa362a7dfc028d190e ChangeLog 9760
+MD5 21cca59866032a8911f3390d5d787c11 alsa-utils-0.5.10-r8.ebuild 941
MD5 c7def99ae6079be0bcefcf120fbf9af5 alsa-utils-0.9.0_rc2.ebuild 827
-MD5 22cca6913d00252a0020a67365c7f098 alsa-utils-1.0.3.ebuild 1686
+MD5 0a3ad1402c1a17018d3c37b34fbd4b7d alsa-utils-0.9.2.ebuild 794
MD5 262115edcd0bc73f4d4a4a4725a13948 alsa-utils-0.9.8.ebuild 1645
-MD5 21cca59866032a8911f3390d5d787c11 alsa-utils-0.5.10-r8.ebuild 941
+MD5 b2717443eb0404be2e474f4ecf70c82a alsa-utils-1.0.2.ebuild 1693
+MD5 22cca6913d00252a0020a67365c7f098 alsa-utils-1.0.3.ebuild 1686
+MD5 e7a2004346c34727c16f0428b5c4034c alsa-utils-1.0.4.ebuild 1801
MD5 90c029af926527eba22793e077d88341 alsa-utils-1.0.5.ebuild 1704
-MD5 a3a8286be8297480c8fa34b512dffd7a ChangeLog 9574
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
-MD5 b2717443eb0404be2e474f4ecf70c82a alsa-utils-1.0.2.ebuild 1693
-MD5 d331cfdb897b5cd5b0a3eca37ff47b9b files/alsa-utils-1.0.4-alsaconf.patch 1182
+MD5 dcc66ee6a9db24006a4158e2be0da3f2 files/alsa-0.5.10 392
MD5 4d91cb34977dfd90022f085560ea00a9 files/alsa-modules.conf-rc 1157
+MD5 f20045fc395596290d5a6d807ba311fc files/alsa-utils-0.5.10-aplay-destdir.diff 626
+MD5 d331cfdb897b5cd5b0a3eca37ff47b9b files/alsa-utils-1.0.4-alsaconf.patch 1182
+MD5 8b504b75a499fa16ffd97740fccf983b files/alsasound 5862
+MD5 a82c4c173c1d617bae9967438c659bac files/digest-alsa-utils-0.5.10-r8 70
MD5 59a93bf64737644e4001cbb6ad5387b4 files/digest-alsa-utils-0.9.0_rc2 71
MD5 55414f65ffecf5f44fa35295dae8bf19 files/digest-alsa-utils-0.9.2 69
MD5 c393c831cb8bcda375cd4690e85b3495 files/digest-alsa-utils-0.9.8 69
@@ -17,7 +21,3 @@ MD5 937332cbdb9fab58e9e43a58a3f965de files/digest-alsa-utils-1.0.2 69
MD5 fb1ac340c0b5d2f19099ee4c89100919 files/digest-alsa-utils-1.0.3 69
MD5 2f5a9c2a8b65900d3e06596e994c58db files/digest-alsa-utils-1.0.4 69
MD5 c6aff50de146998a737abed55b3dd9f1 files/digest-alsa-utils-1.0.5 69
-MD5 f20045fc395596290d5a6d807ba311fc files/alsa-utils-0.5.10-aplay-destdir.diff 626
-MD5 dcc66ee6a9db24006a4158e2be0da3f2 files/alsa-0.5.10 392
-MD5 a82c4c173c1d617bae9967438c659bac files/digest-alsa-utils-0.5.10-r8 70
-MD5 09d13d4431ea046e482470e70cc55130 files/alsasound 5753
diff --git a/media-sound/alsa-utils/files/alsasound b/media-sound/alsa-utils/files/alsasound
index 22b80ef69062..449deee8bfa4 100644
--- a/media-sound/alsa-utils/files/alsasound
+++ b/media-sound/alsa-utils/files/alsasound
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound,v 1.13 2004/06/08 02:34:45 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound,v 1.14 2004/06/18 08:07:53 eradicator Exp $
#
# Gentoo users: add this script to 'boot' run level.
# ==================================================
@@ -110,10 +110,13 @@ unload_modules() {
LOADED_MODULES="$(/sbin/lsmod | grep -E "^snd" | awk '{print $1}')"
for MODULE in ${LOADED_MODULES}
do
- /sbin/rmmod ${MODULE} 2> /dev/null
+ /sbin/rmmod ${MODULE} >& /dev/null
done
- /sbin/rmmod soundcore 2> /dev/null
- /sbin/rmmod gameport 2> /dev/null
+ /sbin/rmmod soundcore >& /dev/null
+ /sbin/rmmod gameport >& /dev/null
+
+ # Return success if the modules are unloaded
+ test -z "$(/sbin/lsmod | grep -E "^snd" | awk '{print $1}')"
}
terminate() {