distribution/packages/ui/emulationstation/autostart/001-emulationstation

14 lines
368 B
Text
Raw Normal View History

#!/bin/sh
2023-04-22 20:55:24 +00:00
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
# Minimal OS variable loading for performance
. /etc/profile.d/02-distribution
2023-04-22 20:55:24 +00:00
if [ ! -L "/storage/.emulationstation" ] && \
[ -d /storage/.config/emulationstation ]
then
ln -sf /storage/.config/emulationstation /storage/.emulationstation
fi