mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1385 from YunoHost/enh-dns-resolver
[fix] Try to fix the return line bug in dnsmasq conf
This commit is contained in:
commit
d792e4880d
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ do_pre_regen() {
|
|||
ynh_validate_ip4 "$ipv4" || ipv4='127.0.0.1'
|
||||
ipv6=$(curl -s -6 https://ip6.yunohost.org 2>/dev/null || true)
|
||||
ynh_validate_ip6 "$ipv6" || ipv6=''
|
||||
interfaces="$(ls -m /sys/class/net | sed s/,//g)"
|
||||
interfaces="$(ip -j addr show | jq -r '[.[].ifname]|join(" ")')"
|
||||
wireless_interfaces="lo"
|
||||
for dev in $(ls /sys/class/net); do
|
||||
if [ -d "/sys/class/net/$dev/wireless" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue