mirror of
https://github.com/unraid/webgui.git
synced 2026-01-08 18:50:10 -06:00
Merge pull request #1352 from bergware/master
rc.samba: add loopback as listening interface
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# Library file: /etc/rc.d/rc.library.source
|
||||
# Used by nfsd, ntpd, rpc, samba, nginx, sshd, avahidaemon, show_interfaces
|
||||
#
|
||||
# bergware - updated for Unraid, June 2023
|
||||
|
||||
WIREGUARD="/etc/wireguard"
|
||||
NETWORK_INI="/var/local/emhttp/network.ini"
|
||||
@@ -192,7 +194,7 @@ check() {
|
||||
fi
|
||||
done
|
||||
# add loopback interface
|
||||
if [[ "nfs ntp rpc" =~ $CALLER ]]; then
|
||||
if [[ "smb nfs ntp rpc" =~ $CALLER ]]; then
|
||||
[[ $ipv4 == yes ]] && bind+=(127.0.0.1)
|
||||
[[ $ipv6 == yes ]] && bind+=(::1)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user