summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2013-02-11 22:13:47 +0000
committerLars Wendler <polynomial-c@gentoo.org>2013-02-11 22:13:47 +0000
commitbf27ee23e652aec0709960dbf30523eb8ce2003b (patch)
treeb88d5d8ff3cfebf8889c5c1c91fd2361fbec06bd /app-emulation
parentfix dependencies (diff)
downloadgentoo-2-bf27ee23e652aec0709960dbf30523eb8ce2003b.tar.gz
gentoo-2-bf27ee23e652aec0709960dbf30523eb8ce2003b.tar.bz2
gentoo-2-bf27ee23e652aec0709960dbf30523eb8ce2003b.zip
Make init script less verbose on kernel module (un)loading
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virtualbox-guest-additions/ChangeLog6
-rw-r--r--app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-8.initd10
2 files changed, 10 insertions, 6 deletions
diff --git a/app-emulation/virtualbox-guest-additions/ChangeLog b/app-emulation/virtualbox-guest-additions/ChangeLog
index 3b6adaed1392..1d4f77f58620 100644
--- a/app-emulation/virtualbox-guest-additions/ChangeLog
+++ b/app-emulation/virtualbox-guest-additions/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/virtualbox-guest-additions
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.111 2013/02/10 18:11:16 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.112 2013/02/11 22:13:47 polynomial-c Exp $
+
+ 11 Feb 2013; Lars Wendler <polynomial-c@gentoo.org>
+ files/virtualbox-guest-additions-8.initd:
+ Make init script less verbose on kernel module (un)loading.
*virtualbox-guest-additions-4.2.6-r1 (10 Feb 2013)
diff --git a/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-8.initd b/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-8.initd
index 3e7a722d7759..9de2ee07c92f 100644
--- a/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-8.initd
+++ b/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-8.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-8.initd,v 1.1 2013/02/10 18:11:16 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-8.initd,v 1.2 2013/02/11 22:13:47 polynomial-c Exp $
pidfile="/var/run/vboxguest-service.pid"
command="/usr/sbin/vboxguest-service"
@@ -15,12 +15,12 @@ depend() {
start_pre() {
einfo "Loading kernel modules"
- /sbin/modprobe vboxguest &> /dev/null
- /sbin/modprobe vboxsf &> /dev/null
+ /sbin/modprobe vboxguest 2>&1
+ /sbin/modprobe vboxsf 2>&1
}
stop_post() {
einfo "Removing kernel modules"
- /sbin/modprobe -r vboxsf &> /dev/null
- /sbin/modprobe -r vboxguest &> /dev/null
+ /sbin/modprobe -r vboxsf 2>&1
+ /sbin/modprobe -r vboxguest 2>&1
}