packages/net/ola/files/olad.init
Christian Beier 47c306512d ola: Add an Open Lighting Architecture package.
The Open Lighting Architecture is a framework for lighting control information.
It supports a range of protocols and over a dozen USB devices. It can run as a
standalone service, which is useful for converting signals between protocols,
or alternatively using the OLA API, it can be used as the backend for lighting
control software. OLA runs on many different platforms including ARM, which
makes it a perfect fit for low cost Ethernet to DMX gateways.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
2015-01-20 12:11:48 +01:00

15 lines
349 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2009-2011 OpenWrt.org
# Copyright (C) 2015 Christian Beier <dontmind@freeshell.org>
USE_PROCD=1
START=90
start_service() {
procd_open_instance
procd_set_param command sudo -u nobody /usr/bin/olad --syslog --log-level 3 --config-dir /etc/ola
procd_set_param respawn
procd_close_instance
}