Install Avahi service file
This commit is contained in:
parent
968d86eb02
commit
39af1601d0
3 changed files with 7 additions and 0 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
|||
nut (2.6.2-2) UNRELEASED; urgency=low
|
||||
|
||||
* debian/nut-server.{install,manpages}: add richcomm_usb
|
||||
* debian/nut-server.install, debian/rules: install Avahi service file
|
||||
|
||||
-- Arnaud Quette <aquette@debian.org> Thu, 03 Nov 2011 21:34:14 -0400
|
||||
|
||||
|
|
1
debian/nut-server.install
vendored
1
debian/nut-server.install
vendored
|
@ -2,6 +2,7 @@ debian/tmp/sbin/upsd
|
|||
debian/tmp/usr/share/nut/cmdvartab
|
||||
debian/tmp/usr/share/nut/driver.list
|
||||
debian/tmp/*/udev/
|
||||
debian/tmp/etc/avahi/services/nut.service
|
||||
debian/tmp/etc/nut/ups.conf
|
||||
debian/tmp/etc/nut/upsd.conf
|
||||
debian/tmp/etc/nut/upsd.users
|
||||
|
|
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -43,6 +43,11 @@ common-install-arch::
|
|||
cp $(CURDIR)/scripts/misc/nut.bash_completion \
|
||||
$(CURDIR)/debian/tmp/etc/bash_completion.d/nut
|
||||
|
||||
# install the avahi service file
|
||||
mkdir -p $(CURDIR)/debian/tmp/etc/avahi/services
|
||||
cp $(CURDIR)/scripts/avahi/nut.service \
|
||||
$(CURDIR)/debian/tmp/etc/avahi/services
|
||||
|
||||
# install the default configuration
|
||||
for f in $(CURDIR)/debian/tmp/etc/nut/*; do \
|
||||
nf=`basename $${f} | sed 's/\(.*\).sample/\1/'`; \
|
||||
|
|
Loading…
Reference in a new issue