CDIST-TYPE__HWCLOCK(7)

πŸ’– cdist-type__hwclock β€” the manual page, but make it cute πŸ’–

okay bestie, so this is cdist-type__hwclock from the cdist manual family β€” yes, the (7) one, we're in section 7, we're fancy like that. it's a cdist type, and it's literally just here to help you manage your hardware real time clock. no biggie. πŸ•°οΈβœ¨


🌸 NAME 🌸

cdist-type__hwclock β€” Manage the hardware real time clock.

like. that's the whole job. it manages the hardware real time clock. iconic, honestly. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: this type is what you reach for when you wanna control how the hardware clock is used by the operating system. that's it, that's the mission. the OS reads your hwclock and this type decides how that reading gets treated. no cap. πŸ’…


πŸŽ€ REQUIRED PARAMETERS πŸŽ€

  • mode β€” what mode the hardware clock is in. required, bestie, you literally cannot skip this one. πŸ™ˆ

acceptable values, and yes there are only two, we love a short list:

  • localtime β€” the hardware clock is set to local time. this one is common for systems that are also running Windows, because of course it is. πŸ’€
  • UTC β€” the hardware clock is set to UTC. this one is common on UNIX systems. periodt. 🌈

✨ OPTIONAL PARAMETERS ✨

None. nope. nothing. zero. the void. πŸ•³οΈπŸ’–


πŸ’œ BOOLEAN PARAMETERS πŸ’œ

None. also nothing. also the void. 🫢


🌟 EXAMPLES 🌟

here's the moment you've been waiting for, the actual usage:

# Make the operating system treat the time read from the hwclock as UTC.
__hwclock --mode UTC

look at her go. setting --mode UTC so the OS treats the time it reads from the hwclock as UTC. chef's kiss. πŸ”₯


πŸ‘€ SEE ALSO πŸ‘€

  • hwclock(8) β€” go read the big sibling page, iykyk. 🧚

πŸ“ AUTHORS πŸ“

  • Dennis Camera <dennis.camera@ssrq-sds-fds.ch> β€” thank you for your service, king. πŸ«‘πŸ’–

πŸ’… COPYING πŸ’…

Copyright (C) 2020 Dennis Camera. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

fr fr, that's the actual license text, we do not paraphrase legal stuff in this house. πŸ“œ

ungleich GmbH 2021


and that's the whole page, bestie!! this was cdist-type__hwclock(7) from version 7.0.0, dated Jul 31, 2022. go forth and configure your hardware clock correctly, mwah πŸ’‹βœ¨πŸŽ€

πŸ“¦ where this page comes from