Hirdetés

Hirdetés

Új hozzászólás Aktív témák

  • Csicsóka

    őstag

    válasz mexel #50391 üzenetére

    Ez még 3.14-es, Oleg verziót még nem is láttam, érdekes lehet.
    Fel kell hogy szedje a remote.conf-t az SD gyökeréből, mert keresi ott, ha nem talál a /storage/.config alatt, sőt ahogy a régi LE a droid system-ből is kimásolja, és bemásolja az SD-re.

    remote-config szkript részlet:

    #!/bin/sh

    # SPDX-License-Identifier: GPL-2.0-or-later
    # Copyright (C) 2014 Stephan Raue (stephan@openelec.tv)

    SOURCEREMOTECONF=""
    REMAP="no"

    if [ -f /storage/.config/remote.conf ]; then
    SOURCEREMOTECONF="/storage/.config"
    REMAP="yes"
    elif [ -f /flash/remote.conf ]; then
    SOURCEREMOTECONF="/flash"
    REMAP="yes"
    elif [ -f /etc/amremote/remote.conf ]; then
    SOURCEREMOTECONF="/etc/amremote"
    elif ! grep -q /dev/system /proc/mounts ; then
    mount -o rw,remount /flash
    mkdir -p /tmp/system
    mount -o ro /dev/system /tmp/system
    for f in /tmp/system/etc/remote*.conf; do
    cp $f /flash
    SOURCEREMOTECONF="/flash"
    done
    for f in /tmp/system/remote*.conf; do
    cp $f /flash
    SOURCEREMOTECONF="/flash"
    done
    umount /tmp/system
    REMAP="yes"
    fi

Új hozzászólás Aktív témák