2023-08-07 00:30:11 +00:00
|
|
|
#!/bin/sh
|
2023-10-23 22:44:47 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2023-10-23 22:46:49 +00:00
|
|
|
# Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) (https://github.com/fewtarius)
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-08-07 00:30:11 +00:00
|
|
|
# Minimal OS variable loading for performance
|
2023-09-04 10:46:11 +00:00
|
|
|
. /etc/profile.d/001-functions
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-04-22 20:01:07 +00:00
|
|
|
tocon "Configuring logging..."
|
|
|
|
|
2022-02-05 14:23:32 +00:00
|
|
|
if [ ! -d "/var/log/retroarch" ]
|
|
|
|
then
|
|
|
|
mkdir /var/log/retroarch
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -d "/storage/.config/retroarch/logs" ]
|
|
|
|
then
|
|
|
|
rm -rf /storage/.config/retroarch/logs
|
|
|
|
fi
|
|
|
|
|
|
|
|
ln -s /var/log/retroarch /storage/.config/retroarch/logs
|