aboutsummaryrefslogtreecommitdiff
path: root/init.d.Linux/clock
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-02 12:23:43 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-02 12:23:43 +0000
commit45d2bcdb9f24ec3a9f65e94683c2ee2e67effa49 (patch)
tree62df8c6c15dadaa4342f3626670efdf37e4d032b /init.d.Linux/clock
parent804de005b85fc603a0836a739d4a82d3d1520777 (diff)
Use -q option with modprobe rather than sending to /dev/null.
Diffstat (limited to 'init.d.Linux/clock')
-rwxr-xr-xinit.d.Linux/clock2
1 files changed, 1 insertions, 1 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}]"