mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
samba: use netstatus for detecting network status
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
a9fb5d9b9d
commit
6919ec4ff0
@ -41,6 +41,6 @@ if [ "$SAMBA_SERVER" = "yes" ]; then
|
|||||||
mkdir -p $INSTALL/usr/config
|
mkdir -p $INSTALL/usr/config
|
||||||
cp $PKG_DIR/config/samba.conf.sample $INSTALL/usr/config
|
cp $PKG_DIR/config/samba.conf.sample $INSTALL/usr/config
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/init.d/network
|
mkdir -p $INSTALL/etc/init.d
|
||||||
cp $PKG_DIR/scripts/* $INSTALL/etc/init.d/network
|
cp $PKG_DIR/scripts/* $INSTALL/etc/init.d
|
||||||
fi
|
fi
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
|
|
||||||
if [ ! "$SAMBA_START" = "no" ]; then
|
if [ ! "$SAMBA_START" = "no" ]; then
|
||||||
|
|
||||||
|
wait_for_network
|
||||||
|
|
||||||
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