distribution/packages/jelos/autostart/002-kernel
2023-10-23 22:53:27 +00:00

14 lines
411 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) (https://github.com/fewtarius)
# Minimal OS variable loading for performance
. /etc/profile.d/001-functions
tocon "Applying kernel parameters..."
sysctl vm.swappiness=1
sysctl kernel.nmi_watchdog=0
sysctl vm.laptop_mode=5
sysctl vm.dirty_writeback_centisecs=1500
toggle-ipv6