mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
samba: fix startup with no network
this fixes multiple issues: - no need to wait for network in initscript - smbd can correctly bind on 0.0.0.0:445 instead of ::445 - iface ifconf is fine on target. nmbd waits and should bind on every new interface
This commit is contained in:
parent
ee9b463d05
commit
fc443ca8a0
@ -46,8 +46,8 @@ fi
|
|||||||
PKG_CONFIGURE_SCRIPT="source3/configure"
|
PKG_CONFIGURE_SCRIPT="source3/configure"
|
||||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_file__proc_sys_kernel_core_pattern=yes \
|
PKG_CONFIGURE_OPTS_TARGET="ac_cv_file__proc_sys_kernel_core_pattern=yes \
|
||||||
libreplace_cv_HAVE_C99_VSNPRINTF=yes \
|
libreplace_cv_HAVE_C99_VSNPRINTF=yes \
|
||||||
libreplace_cv_HAVE_GETADDRINFO=yes \
|
libreplace_cv_HAVE_GETADDRINFO=no \
|
||||||
libreplace_cv_HAVE_IFACE_IFCONF=yes \
|
libreplace_cv_HAVE_IFACE_IFCONF=no \
|
||||||
LINUX_LFS_SUPPORT=yes \
|
LINUX_LFS_SUPPORT=yes \
|
||||||
samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
|
samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
|
||||||
samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \
|
samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \
|
||||||
|
@ -33,10 +33,6 @@
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$SAMBA_ENABLED" = "true" ]; then
|
if [ "$SAMBA_ENABLED" = "true" ]; then
|
||||||
|
|
||||||
# wait for network
|
|
||||||
wait_for_inet_addr force
|
|
||||||
|
|
||||||
progress "Starting Samba server"
|
progress "Starting Samba server"
|
||||||
|
|
||||||
SMB_USERCONF="/storage/.config/samba.conf"
|
SMB_USERCONF="/storage/.config/samba.conf"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user