12 lines
213 B
SYSTEMD
12 lines
213 B
SYSTEMD
|
[Unit]
|
||
|
Description=Disable Simultaneous Multithreading
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
|
||
|
ExecStart=/root/.script/smt.sh disable
|
||
|
ExecStop=/root/.script/smt.sh status
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|