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.
20 lines
509 B
20 lines
509 B
#!/sbin/openrc-run
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
logid_config="/etc/logid.cfg"
|
|
name="Logitech Configuration Daemon"
|
|
pidfile="${RC_PREFIX}/run/logid.pid"
|
|
|
|
command="${RC_PREFIX}/usr/bin/logid"
|
|
command_background="true"
|
|
command_args="-c ${logid_config}"
|
|
|
|
start_pre() {
|
|
if [ ! -f "${logid_config}" ]; then
|
|
eerror "The file '${logid_config}' could not be found!"
|
|
eerror "Please create one before you start the daemon."
|
|
exit 1
|
|
fi
|
|
}
|