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.
22 lines
424 B
22 lines
424 B
#!/sbin/openrc-run
|
|
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
description="Starts Reliablity, Availability and Serviceability (RAS) service"
|
|
|
|
depend() {
|
|
need localmount
|
|
use logger
|
|
}
|
|
|
|
command="/usr/sbin/rasdaemon"
|
|
command_args="${RASDAEMON_ARGS}"
|
|
|
|
start_post() {
|
|
"${command}" --enable >/dev/null 2>&1
|
|
}
|
|
|
|
stop_post() {
|
|
"${command}" --disable >/dev/null 2>&1
|
|
}
|