Prevent hardware RTC writes in live session

This is to avoid annoyingly/unexpectedly affecting users' Windows clock
from being offset whenever they may boot into KDE Linux to try or even
install to another disk.
This commit is contained in:
Vishal Rao
2026-06-27 08:39:47 +05:30
committed by Nate Graham
parent 8aa53df2db
commit 6b50da5beb

View File

@@ -0,0 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2026 Vishal Rao <vishalrao@gmail.com>
# Prevent writing to the real-time clock in the live session, so we
# don't leave any unpleasant leftovers if the user boots back into
# the already-installed OS.
KERNEL=="rtc0", MODE="0400"