Posts by chewitt

    Code
    if [ "$(systemctl is-active reboot.target)" = "active" ]; then
      exit 0
    fi

    ^ If reboot.target is active you are rebooting, and exit the script. Untested, but I think should work. An alternative would be to test whether shutdown.target is active and only then proceed.

    You can do it, but not using our installer.

    LE requires two partitions: one for /flash (boot files) and one for /storage (persistent data) and on x86_64 hardware you can use MSDOS or GPT partition schemes. The boot volume can be either vfat or ext4 but storage MUST be a linux filesystem type (ext4) else we cannot set secure SSH key permissions and you'll never be able to login to the device console.

    If the current filesystem is a Linux format then you can use Gparted from e.g. an Ubuntu Live USB image to shrink/move the current partition to make space for the /boot volume (512MB is enough) and mount the existing partition as /storage. Install syslinux or GRUB to the boot partition with an extlinux.conf that sets boot=/dev/sda1 disk=/dev/sda2 etc. and then copy the KERNEL and SYSTEM files over, and on first boot we will (re)create the .kodi and .cache and .config folders that we need on /storage.

    If the current filesystem is a Windows format then you need to create TWO partitions so that we can store Kodi data correctly etc. - the media partition will auto-mount and be usable. I'd create the /storage partition at 8GB .. it's normally enough for all the thumbs and other cruft that Kodi accumulates in use.

    Reports of "Stuck on Splash" almost always means "GPU not detected" .. the OS will be running fine, but no GPU means no GUI to overwrite the Splash screen. Search for a "LibreELEC" device on the network and access the Logs folder over SMB to generate a zip with the system logs that can be viewed or shared for clues on the problem. If the laptop has multiple GPUs it's best to disable one in BIOS; the Intel GPU should be better supported than the nVidia one. You can also try a current nightly from https://test.libreelec.tv to see if that's any different.

    ^ that's the install script adapted for LE quirks and locations .. no idea if it works or not.

    LE's implementation was done by me to suit my use-case, which is remote access to home from whatever hotel I'm working from this week with all traffic tunnelled. If people have other use-cases; pull requests on GitHub that improve functionality without complex or onerous configuration are welcomed. Note that few people on staff use WireGuard and I have very little time for anything at the moment; so don't expect a particularly quick merge on the submission.

    I'm personally liking Tailscale these days, as the setup is super-trivial (when there's a GUI) but packaging it into an add-on requires more time/effort than I currently have. I'd pay a bounty for someone to add it with a simple GUI to handle initial setup.

    There's probably different levels of sophistication you can do, but as a minimum you can share content from the 'server' box over SMB to the client device. Connect both to the same Gigabit Ethernet switch and Cat5 of better cables and playback (not streaming) over the LAN should be a breeze. If you will still watch content on the server box; install an SQL database (use Docker) and migrate the Library data there so you can maintain the watched/unwatched status between boxes. If you like pain, connect the client device over WiFi :)