Skip to content

Commit 9b41c4d

Browse files
committed
Run systemctl preset-all --global on first boot
Ideally we'd run this on first login per user but that's not supported yet by systemd so for now let's run it on first boot instead.
1 parent 4610dbc commit 9b41c4d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
3+
[Unit]
4+
Before=user.slice
5+
6+
[Service]
7+
Type=oneshot
8+
RemainAfterExit=yes
9+
ConditionFirstBoot=yes
10+
ExecStart=systemctl preset-all --global

0 commit comments

Comments
 (0)