samba: use our new options dialog

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-23 00:39:25 +01:00
parent 17d59bdac7
commit b29e23c1fa

View File

@ -22,11 +22,13 @@
#
# runlevels: openelec, textmode
(
if [ -f /storage/.config/network.conf ]; then
. /storage/.config/network.conf
OPENELEC_SETTINGS="$HOME/.xbmc/userdata/addon_data/os.openelec.settings/settings.xml"
if [ ! "$SAMBA_START" = "no" ]; then
(
if [ -f "$OPENELEC_SETTINGS" ]; then
SAMBA_START=`grep SAMBA_START $OPENELEC_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
if [ "$SAMBA_START" = "yes" ]; then
wait_for_network