mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 06:36:41 +00:00
samba: use our new options dialog
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
17d59bdac7
commit
b29e23c1fa
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user