mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
mdns: Add possibility to manually add .local aliases via /etc/yunohost/mdns.aliases (meant for internetcube)
This commit is contained in:
parent
875677a863
commit
3da2df6e29
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@ _generate_config() {
|
||||||
[[ "$domain" =~ ^[^.]+\.local$ ]] || continue
|
[[ "$domain" =~ ^[^.]+\.local$ ]] || continue
|
||||||
echo " - $domain"
|
echo " - $domain"
|
||||||
done
|
done
|
||||||
|
for localalias in $(cat /etc/yunohost/mdns.aliases | grep -v "^ *$")
|
||||||
|
do
|
||||||
|
echo " - $localalias.local"
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
do_init_regen() {
|
do_init_regen() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue