Skip to content

Commit

Permalink
Disable mitigations
Browse files Browse the repository at this point in the history
  • Loading branch information
aleskandro committed Nov 12, 2023
1 parent f587974 commit b15c310
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Unit]
Description="Disable mitigations"
Documentation=
After=network-online.target
ConditionPathExists=!/var/.mitigations-kargs

[Service]
Type=oneshot
RemainAfterExit=true
ExecStartPre=/usr/bin/rpm-ostree kargs --replace=mitigations=off
ExecStart=/usr/bin/touch /var/.mitigations-kargs
Restart=on-failure
RestartSec=30

[Install]
WantedBy=multi-user.target
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enable kargs-mitigations.service

0 comments on commit b15c310

Please sign in to comment.