Merge branch 'JustEnoughLinuxOS:dev' into dev
This commit is contained in:
commit
f22b9846f4
5 changed files with 28 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
16
packages/jelos/sources/scripts/toggle-ipv6
Executable file
16
packages/jelos/sources/scripts/toggle-ipv6
Executable 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
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue