Add some support for openrc

set /etc/conf.d/hwclock for openrc when configuring hardware clock
+ some small bugfixes to existing functions