mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 06:57:50 +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
|
# runlevels: openelec, textmode
|
||||||
|
|
||||||
(
|
OPENELEC_SETTINGS="$HOME/.xbmc/userdata/addon_data/os.openelec.settings/settings.xml"
|
||||||
if [ -f /storage/.config/network.conf ]; then
|
|
||||||
. /storage/.config/network.conf
|
|
||||||
|
|
||||||
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
|
wait_for_network
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user