Fix i2c-clock
This commit is contained in:
parent
8a2e3f0c93
commit
a95fad071a
@ -14,7 +14,8 @@ ProtectSystem=full
|
||||
ProtectHome=yes
|
||||
DeviceAllow=/dev/rtc_i2c rw
|
||||
DevicePolicy=closed
|
||||
ExecStart=/usr/bin/echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device && /sbin/hwclock --s
|
||||
ExecStartPre=/usr/bin/echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
|
||||
ExecStart=/sbin/hwclock -s
|
||||
|
||||
[Install]
|
||||
WantedBy=time-sync.target
|
Loading…
Reference in New Issue
Block a user