mirror of
https://github.com/KDE/kde-linux.git
synced 2026-08-01 01:37:17 -04:00
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:
@@ -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"
|
||||
Reference in New Issue
Block a user