diff options
Diffstat (limited to 'package/network/services/samba36/files/samba.init')
-rwxr-xr-x | package/network/services/samba36/files/samba.init | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/package/network/services/samba36/files/samba.init b/package/network/services/samba36/files/samba.init index c841324..28b0064 100755 --- a/package/network/services/samba36/files/samba.init +++ b/package/network/services/samba36/files/samba.init @@ -15,12 +15,7 @@ smb_header() { for net in $samba_iface; do local device network_is_up $net || continue - network_get_device device "$net" && { - local subnet - network_get_subnet subnet "$net" && echo -n "$subnet " - network_get_subnet6 subnet "$net" && echo -n "$subnet " - } - + network_get_device device "$net" echo -n "${device:-$net} " done ) |