Package Details: swclock 1-2

Package Base: swclock
Description: Sets the local clock from an given file
Upstream URL: http://xmw.de
Category: system
Licenses: GPL
Submitter: xmw
Maintainer: xmw
Last Packager: None
Votes: 1
First Submitted: 2012-06-22 15:02
Last Updated: 2012-07-18 22:52

Dependencies (0)

Required by (0)

Sources

  • swclock

Latest Comments

Comment by Viaken

2013-06-07 21:01

This should support both sysv and systemd:
http://ge.tt/7X1oFki

I put the actual behavior in a script in /usr/bin and call that from the init script and systemd service file. It pulls configuration from /etc/conf.d/swclock.

It's untested beyond my systemd Raspberry Pi. At least it gets me a more accurate clock until wifi kicks in.

Comment by xmw

2012-11-19 17:21

@Malstrond, i'd be happy to commit an working file, or orphan the pakage, but I'm unable and unwilling to develop such an file by myself. I don't use systemd on arch or any other linux distro.

Michael

Comment by Malstrond

2012-11-19 13:59

Any chance of a systemd service file happening, now that it is the default init?

Comment by xmw

2012-07-18 23:01

Should be fixed no, thanks.

Comment by Malstrond

2012-07-18 22:33

There is a $ missing:

state=$(cat SWCLOCK_STATE)