This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/systems/ntnu-b2xx/fs/etc/rc.d/rtc-ds3231

11 lines
149 B
Plaintext

start()
{
echo ds3231 0x68 >/sys/bus/i2c/devices/i2c-2/new_device
hwclock -f /dev/rtc1 -s
}
stop()
{
echo "no stop-operation for rtc"
}