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

Collapse All | Expand All

(-)/etc/init.d/clock (-1 / +13 lines)
Lines 32-37 Link Here
32
		eend 0 "Detected UML Environment; ignoring"
32
		eend 0 "Detected UML Environment; ignoring"
33
		return 0
33
		return 0
34
34
35
	elif [ -d "/proc/xen" ] && [ ! -f "/proc/xen/privcmd" ]
36
	then
37
		ebegin "Setting system clock to hardware clock ${TBLURB}"
38
		eend 0 "Detected Xen unprivileged environment; ignoring"
39
		return 0
40
35
	elif [ -x /sbin/hwclock ]
41
	elif [ -x /sbin/hwclock ]
36
	then
42
	then
37
		ebegin "Setting system clock to hardware clock ${TBLURB}"
43
		ebegin "Setting system clock to hardware clock ${TBLURB}"
Lines 73-79 Link Here
73
		ebegin "Syncing hardware clock to system clock ${TBLURB}"
79
		ebegin "Syncing hardware clock to system clock ${TBLURB}"
74
		eend 0 "Detected UML Environment; ignoring"
80
		eend 0 "Detected UML Environment; ignoring"
75
		return 0
81
		return 0
76
		
82
83
	elif [ -d "/proc/xen" ] && [ ! -f "/proc/xen/privcmd" ]
84
	then
85
		ebegin "Setting system clock to hardware clock ${TBLURB}"
86
		eend 0 "Detected Xen unprivileged environment; ignoring"
87
		return 0
88
77
	elif [ -x /sbin/hwclock ]
89
	elif [ -x /sbin/hwclock ]
78
	then
90
	then
79
		ebegin "Syncing hardware clock to system clock ${TBLURB}"
91
		ebegin "Syncing hardware clock to system clock ${TBLURB}"

Return to bug 70161