summarylogtreecommitdiffstats
path: root/smictrl.service
blob: d86634c617b64acd61a5f0c2550cca7fffbd0502 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Modify SMI enable register
After=multi-user.target
ConditionPathExists=/etc/smictrl.conf

[Service]
Type=oneshot
EnvironmentFile=/etc/smictrl.conf
ExecStart=/bin/sh -c '[ -z "$$ARGS" ] || exec /usr/bin/smictrl $$ARGS'

[Install]
WantedBy=multi-user.target