wok rev 19618

locale-zh_CN: /dev/misc/rtc may absent
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 10 16:05:06 2017 +0200 (2017-01-10)
parents d5add2d69322
children b9e9d2b1d41b
files locale-zh_CN/receipt
line diff
     1.1 --- a/locale-zh_CN/receipt	Tue Jan 10 14:28:40 2017 +0200
     1.2 +++ b/locale-zh_CN/receipt	Tue Jan 10 16:05:06 2017 +0200
     1.3 @@ -45,8 +45,9 @@
     1.4  		echo LANG=zh_CN.UTF-8 > /etc/locale.conf
     1.5  		echo Asia/Shanghai > /etc/TZ
     1.6  		export TZ=Asia/Shanghai
     1.7 -		hwclock --hctosys
     1.8 +		[ -e /dev/misc/rtc ] && hwclock --hctosys
     1.9  	fi
    1.10 +	:
    1.11  }
    1.12  
    1.13  # Back to C if it's the last used locale.