Merge branch 'JustEnoughLinuxOS:dev' into dev

This commit is contained in:
Brooksytech 2023-01-14 20:32:05 -08:00 committed by GitHub
commit f22b9846f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 1 deletions

View file

@ -90,6 +90,7 @@ global.secondinstance=0
gpu.powersave=0
intellivision.integerscale=0
intellivision.ratio=4/3
ipv6.enabled=0
wifi.powersave=0
j2me.cpugovernor=performance
mame.autosave=0

View file

@ -139,3 +139,10 @@ then
CheckAtStartup = false
EOF
fi
IPV6=$(get_setting ipv6.enabled)
if [ -z "${IPV6}" ]
then
echo "Disable ipv6." >>${LOG}
set_setting ipv6.enabled 0
fi

View file

@ -0,0 +1,16 @@
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2020-present Fewtarius
. /etc/profile
if [ "$(get_setting ipv6.enabled)" == "1" ]
then
sysctl net.ipv6.conf.all.disable_ipv6=0
sysctl net.ipv6.conf.default.disable_ipv6=0
sysctl net.ipv6.conf.lo.disable_ipv6=0
else
sysctl net.ipv6.conf.all.disable_ipv6=1
sysctl net.ipv6.conf.default.disable_ipv6=1
sysctl net.ipv6.conf.lo.disable_ipv6=1
fi

View file

@ -2,8 +2,11 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
sysctl vm.swappiness=1
sysctl kernel.nmi_watchdog=0
sysctl vm.laptop_mode=5
sysctl vm.dirty_writeback_centisecs=1500
toggle-ipv6

View file

@ -3,7 +3,7 @@
# Copyright (C) 2020-present Fewtarius
PKG_NAME="emulationstation"
PKG_VERSION="31bcda1"
PKG_VERSION="1c1061e"
PKG_GIT_CLONE_BRANCH="main"
PKG_REV="1"
PKG_ARCH="any"