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

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


Author: arekm
Date: Tue Apr  7 11:28:47 2009
New Revision: 10322

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:47 2009
@@ -880,7 +880,7 @@
 	fi
 
 	# Set the clock if timezone definition wasn't available (eg. /usr not mounted)
-	if is_yes "$TIME_SETUP_DELAYED" && [ -e /dev/rtc ]; then
+	if is_yes "$TIME_SETUP_DELAYED"; 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