0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-02-07 17:29:52 +00:00
2024-07-06 13:02:07 +02:00

17 lines
351 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
# read config files
for config in /etc/profile.d/*; do
if [ -f "$config" ]; then
. $config
fi
done
# generate system-wide environment file
cat <<EOF >/run/libreelec/environment
PATH=${PATH}
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
EOF