aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit.d.Linux/clock2
-rwxr-xr-xinit.d/localmount3
2 files changed, 2 insertions, 3 deletions
diff --git a/init.d.Linux/clock b/init.d.Linux/clock
index 640de577..a74bb289 100755
--- a/init.d.Linux/clock
+++ b/init.d.Linux/clock
@@ -74,7 +74,7 @@ start() {
setupopts
if [ ${fakeit} -ne 1 -a -e /proc/modules -a ! -e /dev/rtc ] ; then
- modprobe rtc 2>/dev/null || modprobe genrtc 2>/dev/null
+ modprobe -q rtc || modprobe -q genrtc
fi
ebegin "Setting system clock using the hardware clock" "[${TBLURB}]"
diff --git a/init.d/localmount b/init.d/localmount
index 01508e8c..456aee34 100755
--- a/init.d/localmount
+++ b/init.d/localmount
@@ -50,8 +50,7 @@ start() {
# Make sure we insert usbcore if its a module
if [ -f /proc/modules -a ! -d /proc/bus/usb ] ; then
- # >/dev/null to hide errors from non-USB users
- modprobe usbcore &> /dev/null
+ modprobe -q usbcore
fi
if [ -e /proc/filesystems ] ; then