mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +00:00
avahi: Add service for freedombox discovery
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
e4f053af17
commit
bf9af37d17
12
data/etc/avahi/services/freedombox.service
Normal file
12
data/etc/avahi/services/freedombox.service
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" standalone='no'?>
|
||||
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
||||
<service-group>
|
||||
<name replace-wildcards="yes">%h</name>
|
||||
|
||||
<service>
|
||||
<type>_freedombox._tcp</type>
|
||||
<port>80</port>
|
||||
<host>%h</host>
|
||||
</service>
|
||||
|
||||
</service-group>
|
||||
4
setup.py
4
setup.py
@ -260,7 +260,9 @@ setuptools.setup(
|
||||
'*'))),
|
||||
('/var/lib/polkit-1/localauthority/10-vendor.d',
|
||||
['data/var/lib/polkit-1/localauthority/10-vendor.d/'
|
||||
'org.freedombox.NetworkManager.pkla'])],
|
||||
'org.freedombox.NetworkManager.pkla']),
|
||||
('/etc/avahi/services/',
|
||||
glob.glob('data/etc/avahi/services/*.service'))],
|
||||
cmdclass={
|
||||
'install': CustomInstall,
|
||||
'build': CustomBuild,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user