diff --git a/packages/jelos/config/system/configs/system.cfg b/packages/jelos/config/system/configs/system.cfg index 2ce82e223..d725db5fd 100644 --- a/packages/jelos/config/system/configs/system.cfg +++ b/packages/jelos/config/system/configs/system.cfg @@ -156,6 +156,7 @@ segacd.ratio=4/3 sfc.integerscale=0 sfc.ratio=4/3 sg-1000.integerscale=0 +simplehttp.enabled=0 snesh.integerscale=0 snesh.ratio=4/3 snes.integerscale=0 diff --git a/packages/jelos/sources/scripts/setrootpass b/packages/jelos/sources/scripts/setrootpass index ce4120b1e..9f063a346 100755 --- a/packages/jelos/sources/scripts/setrootpass +++ b/packages/jelos/sources/scripts/setrootpass @@ -32,3 +32,13 @@ if [ "${SYNCSTATUS}" = "1" ] && then systemctl restart syncthing >/dev/null 2>&1 fi + +# Restart simple-http-server if it is enabled +SIMPLESTATUS=$(get_setting simplehttp.enabled) +SIMPLEACTIVE=$(systemctl status simple-http-server | awk '/active/ {print $2}') +if [ "${SIMPLESTATUS}" = "1" ] && + [ "${SIMPLEACTIVE}" = "active" ] +then + systemctl restart simple-http-server >/dev/null 2>&1 +fi + diff --git a/packages/ui/emulationstation/package.mk b/packages/ui/emulationstation/package.mk index 6447e76bc..625d1c37a 100644 --- a/packages/ui/emulationstation/package.mk +++ b/packages/ui/emulationstation/package.mk @@ -3,7 +3,7 @@ # Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS) PKG_NAME="emulationstation" -PKG_VERSION="ff285e753a28df10b0bb014f9f6e5981accfc2f0" +PKG_VERSION="695e3cd95896b8861214cec2a87467e1a5646f3d" PKG_GIT_CLONE_BRANCH="main" PKG_REV="1" PKG_ARCH="any"