You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
419 B
24 lines
419 B
#!/sbin/openrc-run
|
|
# Copyright 1999-2018 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
description="Loads Motherboard DIMM labels into EDAC driver"
|
|
|
|
depend() {
|
|
keyword -stop
|
|
need sysfs
|
|
}
|
|
|
|
command="/usr/sbin/ras-mc-ctl"
|
|
command_args="--register-labels"
|
|
|
|
start() {
|
|
ebegin "Loading Motherboard DIMM labels into EDAC driver"
|
|
"${command}" "${command_args}"
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
:
|
|
}
|