mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update
This commit is contained in:
parent
0f36c4af34
commit
75b2d13600
45 changed files with 0 additions and 467 deletions
|
|
@ -1,21 +0,0 @@
|
|||
# This file is part of systemd.
|
||||
#
|
||||
# systemd is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Entries in this file show the compile time defaults.
|
||||
# You can change settings by editing this file.
|
||||
# Defaults can be restored by simply deleting this file.
|
||||
#
|
||||
# See coredump.conf(5) for details.
|
||||
|
||||
[Coredump]
|
||||
#Storage=external
|
||||
#Compress=yes
|
||||
#ProcessSizeMax=2G
|
||||
#ExternalSizeMax=2G
|
||||
#JournalSizeMax=767M
|
||||
#MaxUse=
|
||||
#KeepFree=
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[Remote]
|
||||
# Seal=false
|
||||
# SplitMode=host
|
||||
# ServerKeyFile=/etc/ssl/private/journal-remote.pem
|
||||
# ServerCertificateFile=/etc/ssl/certs/journal-remote.pem
|
||||
# TrustedCertificateFile=/etc/ssl/ca/trusted.pem
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[Upload]
|
||||
# URL=
|
||||
# ServerKeyFile=/etc/ssl/private/journal-upload.pem
|
||||
# ServerCertificateFile=/etc/ssl/certs/journal-upload.pem
|
||||
# TrustedCertificateFile=/etc/ssl/ca/trusted.pem
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
# This file is part of systemd.
|
||||
#
|
||||
# systemd is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Entries in this file show the compile time defaults.
|
||||
# You can change settings by editing this file.
|
||||
# Defaults can be restored by simply deleting this file.
|
||||
#
|
||||
# See journald.conf(5) for details.
|
||||
|
||||
[Journal]
|
||||
#Storage=auto
|
||||
#Compress=yes
|
||||
#Seal=yes
|
||||
#SplitMode=uid
|
||||
#SyncIntervalSec=5m
|
||||
#RateLimitIntervalSec=30s
|
||||
#RateLimitBurst=1000
|
||||
SystemMaxUse=20M
|
||||
#SystemKeepFree=
|
||||
#SystemMaxFileSize=
|
||||
#SystemMaxFiles=100
|
||||
#RuntimeMaxUse=
|
||||
#RuntimeKeepFree=
|
||||
#RuntimeMaxFileSize=
|
||||
#RuntimeMaxFiles=100
|
||||
#MaxRetentionSec=
|
||||
#MaxFileSec=1month
|
||||
#ForwardToSyslog=no
|
||||
#ForwardToKMsg=no
|
||||
#ForwardToConsole=no
|
||||
#ForwardToWall=yes
|
||||
#TTYPath=/dev/console
|
||||
#MaxLevelStore=debug
|
||||
#MaxLevelSyslog=debug
|
||||
#MaxLevelKMsg=notice
|
||||
#MaxLevelConsole=info
|
||||
#MaxLevelWall=emerg
|
||||
#LineMax=48K
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
# This file is part of systemd.
|
||||
#
|
||||
# systemd is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Entries in this file show the compile time defaults.
|
||||
# You can change settings by editing this file.
|
||||
# Defaults can be restored by simply deleting this file.
|
||||
#
|
||||
# See journald.conf(5) for details.
|
||||
|
||||
[Journal]
|
||||
#Storage=auto
|
||||
#Compress=yes
|
||||
#Seal=yes
|
||||
#SplitMode=uid
|
||||
#SyncIntervalSec=5m
|
||||
#RateLimitIntervalSec=30s
|
||||
#RateLimitBurst=10000
|
||||
#SystemMaxUse=
|
||||
#SystemKeepFree=
|
||||
#SystemMaxFileSize=
|
||||
#SystemMaxFiles=100
|
||||
#RuntimeMaxUse=
|
||||
#RuntimeKeepFree=
|
||||
#RuntimeMaxFileSize=
|
||||
#RuntimeMaxFiles=100
|
||||
#MaxRetentionSec=
|
||||
#MaxFileSec=1month
|
||||
#ForwardToSyslog=no
|
||||
#ForwardToKMsg=no
|
||||
#ForwardToConsole=no
|
||||
#ForwardToWall=yes
|
||||
#TTYPath=/dev/console
|
||||
#MaxLevelStore=debug
|
||||
#MaxLevelSyslog=debug
|
||||
#MaxLevelKMsg=notice
|
||||
#MaxLevelConsole=info
|
||||
#MaxLevelWall=emerg
|
||||
#LineMax=48K
|
||||
#ReadKMsg=yes
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
# This file is part of systemd.
|
||||
#
|
||||
# systemd is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Entries in this file show the compile time defaults.
|
||||
# You can change settings by editing this file.
|
||||
# Defaults can be restored by simply deleting this file.
|
||||
#
|
||||
# See logind.conf(5) for details.
|
||||
|
||||
[Login]
|
||||
#NAutoVTs=1
|
||||
#ReserveVT=6
|
||||
#KillUserProcesses=no
|
||||
#KillOnlyUsers=
|
||||
#KillExcludeUsers=root
|
||||
#InhibitDelayMaxSec=5
|
||||
HandlePowerKey=ignore
|
||||
#HandleSuspendKey=suspend
|
||||
#HandleHibernateKey=hibernate
|
||||
#HandleLidSwitch=suspend
|
||||
#HandleLidSwitchExternalPower=suspend
|
||||
#HandleLidSwitchDocked=ignore
|
||||
#PowerKeyIgnoreInhibited=no
|
||||
#SuspendKeyIgnoreInhibited=no
|
||||
#HibernateKeyIgnoreInhibited=no
|
||||
#LidSwitchIgnoreInhibited=yes
|
||||
#HoldoffTimeoutSec=30s
|
||||
#IdleAction=ignore
|
||||
#IdleActionSec=30min
|
||||
#RuntimeDirectorySize=10%
|
||||
#RemoveIPC=yes
|
||||
#InhibitorsMax=8192
|
||||
#SessionsMax=8192
|
||||
#UserTasksMax=33%
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
[Match]
|
||||
Name=enp2s0
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
DNS=9.9.9.9
|
||||
DNSOverTLS=opportunistic
|
||||
DNSSEC=true
|
||||
|
||||
[DHCP]
|
||||
RouteMetric=10
|
||||
UseDNS=no
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
[Match]
|
||||
Name=wlp3s0
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
DNS=9.9.9.9
|
||||
DNSOverTLS=opportunistic
|
||||
DNSSEC=true
|
||||
|
||||
[DHCP]
|
||||
RouteMetric=20
|
||||
UseDNS=no
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
[Match]
|
||||
Name=wlp0s20f0u2
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
DNS=9.9.9.9
|
||||
DNSOverTLS=opportunistic
|
||||
DNSSEC=true
|
||||
|
||||
[DHCP]
|
||||
RouteMetric=30
|
||||
UseDNS=no
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
# This file is part of systemd.
|
||||
#
|
||||
# systemd is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Entries in this file show the compile time defaults.
|
||||
# You can change settings by editing this file.
|
||||
# Defaults can be restored by simply deleting this file.
|
||||
#
|
||||
# See resolved.conf(5) for details
|
||||
|
||||
[Resolve]
|
||||
DNS=8.8.8.8 8.8.4.4
|
||||
FallbackDNS=8.8.8.8 8.8.4.4
|
||||
#Domains=
|
||||
#LLMNR=yes
|
||||
#MulticastDNS=yes
|
||||
#DNSSEC=allow-downgrade
|
||||
#DNSOverTLS=no
|
||||
Cache=yes
|
||||
#DNSStubListener=udp
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
################################################################################
|
||||
# Defaults are optimized for general usage
|
||||
################################################################################
|
||||
|
||||
################################################################################
|
||||
# You can override any settings by files in:
|
||||
# /etc/systemd/swap.conf.d/*.conf
|
||||
################################################################################
|
||||
|
||||
################################################################################
|
||||
# Zswap
|
||||
#
|
||||
# Kernel >= 3.11
|
||||
# Zswap create compress cache between swap and memory for reduce IO
|
||||
# https://www.kernel.org/doc/Documentation/vm/zswap.txt
|
||||
|
||||
zswap_enabled=1
|
||||
zswap_compressor=lz4 # lzo lz4
|
||||
zswap_max_pool_percent=25 # 1-99
|
||||
zswap_zpool=zbud # zbud z3fold
|
||||
|
||||
################################################################################
|
||||
# ZRam
|
||||
#
|
||||
# Kernel >= 3.15
|
||||
# Zram compression streams count for additional information see:
|
||||
# https://www.kernel.org/doc/Documentation/blockdev/zram.txt
|
||||
|
||||
zram_enabled=0
|
||||
zram_size=$(($RAM_SIZE/4)) # This is 1/4 of ram size by default.
|
||||
zram_streams=$NCPU
|
||||
zram_alg=lz4 # lzo lz4 deflate lz4hc 842 - for Linux 4.8.4
|
||||
zram_prio=32767 # 1 - 32767
|
||||
|
||||
################################################################################
|
||||
# Swap File Chunked
|
||||
# Allocate swap files dynamically
|
||||
# For btrfs fallback to swapfile + loop will be used
|
||||
# ex. Min swap size 512M, Max 8*512M
|
||||
swapfc_enabled=0
|
||||
swapfc_force_use_loop=0 # Force usage of swapfile + loop
|
||||
swapfc_frequency=1s # How often check free swap space
|
||||
swapfc_chunk_size=512M # Allocate size of swap chunk
|
||||
swapfc_max_count=8 # 0 - unlimited, note: 32 is a kernel maximum
|
||||
swapfc_free_swap_perc=15 # Add new chunk if free < 15%
|
||||
# Remove chunk if free > 15+40% & chunk count > 2
|
||||
swapfc_path=/var/lib/systemd-swap/swapfc/
|
||||
# Only for swapfile + loop
|
||||
swapfc_nocow=1 # Disable CoW on swapfile
|
||||
swapfc_directio=1 # Use directio for loop dev
|
||||
swapfc_force_preallocated=0 # Will preallocate created files
|
||||
|
||||
################################################################################
|
||||
# Swap devices
|
||||
# Find and auto swapon all available swap devices
|
||||
swapd_auto_swapon=1
|
||||
swapd_prio=1024
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
# This file is part of systemd.
|
||||
#
|
||||
# systemd is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Entries in this file show the compile time defaults.
|
||||
# You can change settings by editing this file.
|
||||
# Defaults can be restored by simply deleting this file.
|
||||
#
|
||||
# See systemd-system.conf(5) for details.
|
||||
|
||||
[Manager]
|
||||
#LogLevel=info
|
||||
#LogTarget=journal-or-kmsg
|
||||
#LogColor=yes
|
||||
#LogLocation=no
|
||||
#DumpCore=yes
|
||||
#ShowStatus=yes
|
||||
#CrashChangeVT=no
|
||||
#CrashShell=no
|
||||
#CrashReboot=no
|
||||
#CtrlAltDelBurstAction=reboot-force
|
||||
#CPUAffinity=1 2
|
||||
#JoinControllers=cpu,cpuacct net_cls,net_prio
|
||||
#RuntimeWatchdogSec=0
|
||||
#ShutdownWatchdogSec=10min
|
||||
#WatchdogDevice=
|
||||
#CapabilityBoundingSet=
|
||||
#NoNewPrivileges=no
|
||||
#SystemCallArchitectures=
|
||||
#TimerSlackNSec=
|
||||
#DefaultTimerAccuracySec=1min
|
||||
#DefaultStandardOutput=journal
|
||||
#DefaultStandardError=inherit
|
||||
#DefaultTimeoutStartSec=90s
|
||||
#DefaultTimeoutStopSec=90s
|
||||
#DefaultRestartSec=100ms
|
||||
#DefaultStartLimitIntervalSec=10s
|
||||
#DefaultStartLimitBurst=5
|
||||
#DefaultEnvironment=
|
||||
#DefaultCPUAccounting=no
|
||||
#DefaultIOAccounting=no
|
||||
#DefaultIPAccounting=no
|
||||
#DefaultBlockIOAccounting=no
|
||||
#DefaultMemoryAccounting=yes
|
||||
#DefaultTasksAccounting=yes
|
||||
#DefaultTasksMax=15%
|
||||
#DefaultLimitCPU=
|
||||
#DefaultLimitFSIZE=
|
||||
#DefaultLimitDATA=
|
||||
#DefaultLimitSTACK=
|
||||
#DefaultLimitCORE=
|
||||
#DefaultLimitRSS=
|
||||
#DefaultLimitNOFILE=
|
||||
#DefaultLimitAS=
|
||||
#DefaultLimitNPROC=
|
||||
#DefaultLimitMEMLOCK=
|
||||
#DefaultLimitLOCKS=
|
||||
#DefaultLimitSIGPENDING=
|
||||
#DefaultLimitMSGQUEUE=
|
||||
#DefaultLimitNICE=
|
||||
#DefaultLimitRTPRIO=
|
||||
#DefaultLimitRTTIME=
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/systemd-networkd.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/systemd-resolved.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/getty@.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/acpid.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/apparmor.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/dhcpcd.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/irqbalance.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/lm_sensors.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/remote-fs.target
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/systemd-networkd.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/systemd-resolved.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/etc/systemd/system/tlp.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/tor.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/wpa_supplicant@.service
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
.include /usr/lib/systemd/system/netctl@.service
|
||||
|
||||
[Unit]
|
||||
Description=A wired connection with failover to wireless
|
||||
BindsTo=sys-subsystem-net-devices-enp2s0.device
|
||||
BindsTo=sys-subsystem-net-devices-wlp3s0.device
|
||||
After=sys-subsystem-net-devices-enp2s0.device
|
||||
After=sys-subsystem-net-devices-wlp3s0.device
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/systemd-networkd-wait-online.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/systemd-networkd.socket
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/system/systemd-timesyncd.service
|
||||
|
|
@ -1 +0,0 @@
|
|||
/dev/null
|
||||
|
|
@ -1 +0,0 @@
|
|||
/dev/null
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
# tlp - systemd startup/shutdown service
|
||||
#
|
||||
# Copyright (c) 2018 Thomas Koch <linrunner at gmx.net>
|
||||
# This software is licensed under the GPL v2 or later.
|
||||
|
||||
[Unit]
|
||||
Description=TLP system startup/shutdown
|
||||
#Wants=bluetooth.service NetworkManager.service
|
||||
After=multi-user.target
|
||||
Before=shutdown.target
|
||||
Documentation=http://linrunner.de/tlp
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/tlp init start
|
||||
ExecStop=/usr/bin/tlp init stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
[Unit]
|
||||
Description=Start rules for transparent tor proxy
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/tor-router
|
||||
TimeoutStopSec=180
|
||||
KillMode=process
|
||||
KillSignal=SIGINT
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
# This file is part of systemd.
|
||||
#
|
||||
# systemd is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Entries in this file show the compile time defaults.
|
||||
# You can change settings by editing this file.
|
||||
# Defaults can be restored by simply deleting this file.
|
||||
#
|
||||
# See timesyncd.conf(5) for details.
|
||||
|
||||
[Time]
|
||||
#NTP=
|
||||
#FallbackNTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org
|
||||
#RootDistanceMaxSec=5
|
||||
#PollIntervalMinSec=32
|
||||
#PollIntervalMaxSec=2048
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
# This file is part of systemd.
|
||||
#
|
||||
# systemd is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# You can override the directives in this file by creating files in
|
||||
# /etc/systemd/user.conf.d/*.conf.
|
||||
#
|
||||
# See systemd-user.conf(5) for details
|
||||
|
||||
[Manager]
|
||||
#LogLevel=info
|
||||
#LogTarget=console
|
||||
#LogColor=yes
|
||||
#LogLocation=no
|
||||
#SystemCallArchitectures=
|
||||
#TimerSlackNSec=
|
||||
#DefaultTimerAccuracySec=1min
|
||||
#DefaultStandardOutput=inherit
|
||||
#DefaultStandardError=inherit
|
||||
#DefaultTimeoutStartSec=90s
|
||||
#DefaultTimeoutStopSec=90s
|
||||
#DefaultRestartSec=100ms
|
||||
#DefaultStartLimitIntervalSec=10s
|
||||
#DefaultStartLimitBurst=5
|
||||
#DefaultEnvironment=
|
||||
#DefaultLimitCPU=
|
||||
#DefaultLimitFSIZE=
|
||||
#DefaultLimitDATA=
|
||||
#DefaultLimitSTACK=
|
||||
#DefaultLimitCORE=
|
||||
#DefaultLimitRSS=
|
||||
#DefaultLimitNOFILE=
|
||||
#DefaultLimitAS=
|
||||
#DefaultLimitNPROC=
|
||||
#DefaultLimitMEMLOCK=
|
||||
#DefaultLimitLOCKS=
|
||||
#DefaultLimitSIGPENDING=
|
||||
#DefaultLimitMSGQUEUE=
|
||||
#DefaultLimitNICE=
|
||||
#DefaultLimitRTPRIO=
|
||||
#DefaultLimitRTTIME=
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/user/dirmngr.socket
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/user/gpg-agent-browser.socket
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/user/gpg-agent-extra.socket
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/user/gpg-agent-ssh.socket
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/user/gpg-agent.socket
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/user/p11-kit-server.socket
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/user/pipewire.socket
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/user/pulseaudio.socket
|
||||
Loading…
Add table
Add a link
Reference in a new issue