Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 496024 | Differences between
and this patch

Collapse All | Expand All

(-)a/init.d/hwclock.in (-4 / +3 lines)
Lines 94-105 start() Link Here
94
		"$utc_cmd" != --utc -o \
94
		"$utc_cmd" != --utc -o \
95
		-n "$clock_args" ];
95
		-n "$clock_args" ];
96
	then
96
	then
97
		_hwclock --systz $utc_cmd $clock_args
98
		: $(( retval += $? ))
97
		if yesno ${clock_hctosys:-YES}; then
99
		if yesno ${clock_hctosys:-YES}; then
98
			_hwclock --hctosys $utc_cmd $clock_args
100
			_hwclock --hctosys $utc_cmd $clock_args
101
			: $(( retval += $? ))
99
		else
102
		else
100
			_hwclock --systz $utc_cmd $clock_args
101
		fi
102
		: $(( retval += $? ))
103
	fi
103
	fi
104
104
105
	eend $retval "Failed to set the system clock"
105
	eend $retval "Failed to set the system clock"
106
- 

Return to bug 496024