samba: use netstatus for detecting network status

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-19 14:44:19 +01:00
parent a9fb5d9b9d
commit 6919ec4ff0
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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"