SVN: rc-scripts/trunk/rc.d/rc.sysinit

arekm arekm at pld-linux.org
Tue Apr 7 11:28:17 CEST 2009


Author: arekm
Date: Tue Apr  7 11:28:17 2009
New Revision: 10321

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
Don't check for /dev/rtc existence. When using udev it doesn't exist usually.

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Tue Apr  7 11:28:17 2009
@@ -272,7 +272,7 @@
 	fi
 
 	# Check if timezone definition is available
-	if [ -e /etc/localtime -a -e /dev/rtc ] ; then
+	if [ -e /etc/localtime ] ; then
 		if run_cmd "$(nls 'Setting clock')$CLOCKDEF" /sbin/hwclock $CLOCKFLAGS; then
 			show "$(nls 'Today`s date:') $(LC_CTYPE=C date)"; ok
 		fi


More information about the pld-cvs-commit mailing list