mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2026-04-07 15:23:59 +00:00
Add installation of systemd files for opendv andempty config for gateway
This commit is contained in:
parent
544ce6c020
commit
a76f07ca0e
3 changed files with 199 additions and 0 deletions
12
Makefile
12
Makefile
|
|
@ -61,6 +61,18 @@ ircDDB/IRCDDB.a: force
|
|||
|
||||
.PHONY: install
|
||||
install: all
|
||||
ifeq ($(TARGET), opendv)
|
||||
useradd --user-group -M --system opendv --shell /bin/false || true
|
||||
|
||||
# Add the opendv user to the audio group so that it can open audio
|
||||
# devices when using the audio based drivers such as the Sound Card
|
||||
# one. Maybe this should be moved to DStarRepeater instead ...
|
||||
usermod --groups audio --append opendv || true
|
||||
usermod --groups dialout --append opendv || true
|
||||
usermod --groups gpio --append opendv || true
|
||||
mkdir /var/log/opendv || true
|
||||
chown opendv:opendv /var/log/opendv
|
||||
endif
|
||||
$(MAKE) -C Data install
|
||||
$(MAKE) -C APRSTransmit install
|
||||
$(MAKE) -C ircDDBGateway install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue