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