mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update things
This commit is contained in:
parent
7c4ac23080
commit
862f4902ef
58 changed files with 65 additions and 680 deletions
147
etc/makepkg.conf
Normal file
147
etc/makepkg.conf
Normal file
|
|
@ -0,0 +1,147 @@
|
|||
#
|
||||
# /etc/makepkg.conf
|
||||
#
|
||||
|
||||
#########################################################################
|
||||
# SOURCE ACQUISITION
|
||||
#########################################################################
|
||||
#
|
||||
#-- The download utilities that makepkg should use to acquire sources
|
||||
# Format: 'protocol::agent'
|
||||
DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
|
||||
'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
|
||||
'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
|
||||
'rsync::/usr/bin/rsync --no-motd -z %u %o'
|
||||
'scp::/usr/bin/scp -C %u %o')
|
||||
|
||||
# Other common tools:
|
||||
# /usr/bin/snarf
|
||||
# /usr/bin/lftpget -c
|
||||
# /usr/bin/wget
|
||||
|
||||
#-- The package required by makepkg to download VCS sources
|
||||
# Format: 'protocol::package'
|
||||
VCSCLIENTS=('bzr::bzr'
|
||||
'git::git'
|
||||
'hg::mercurial'
|
||||
'svn::subversion')
|
||||
|
||||
#########################################################################
|
||||
# ARCHITECTURE, COMPILE FLAGS
|
||||
#########################################################################
|
||||
#
|
||||
CARCH="x86_64"
|
||||
CHOST="x86_64-pc-linux-gnu"
|
||||
|
||||
#-- Compiler and Linker Flags
|
||||
# -march (or -mcpu) builds exclusively for an architecture
|
||||
# -mtune optimizes for an architecture, but builds for whole processor family
|
||||
CPPFLAGS="-D_FORTIFY_SOURCE=2"
|
||||
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt"
|
||||
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt"
|
||||
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
|
||||
#-- Make Flags: change this for DistCC/SMP systems
|
||||
MAKEFLAGS="-j$(nproc)"
|
||||
#-- Debugging flags
|
||||
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
|
||||
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
|
||||
|
||||
#########################################################################
|
||||
# BUILD ENVIRONMENT
|
||||
#########################################################################
|
||||
#
|
||||
# Defaults: BUILDENV=(!distcc color !ccache check !sign)
|
||||
# A negated environment option will do the opposite of the comments below.
|
||||
#
|
||||
#-- distcc: Use the Distributed C/C++/ObjC compiler
|
||||
#-- color: Colorize output messages
|
||||
#-- ccache: Use ccache to cache compilation
|
||||
#-- check: Run the check() function if present in the PKGBUILD
|
||||
#-- sign: Generate PGP signature file
|
||||
#
|
||||
BUILDENV=(!distcc color !ccache check !sign)
|
||||
#
|
||||
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
|
||||
#-- specify a space-delimited list of hosts running in the DistCC cluster.
|
||||
#DISTCC_HOSTS=""
|
||||
#
|
||||
#-- Specify a directory for package building.
|
||||
BUILDDIR=/tmp/makepkg
|
||||
|
||||
#########################################################################
|
||||
# GLOBAL PACKAGE OPTIONS
|
||||
# These are default values for the options=() settings
|
||||
#########################################################################
|
||||
#
|
||||
# Default: OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !optipng !upx !debug)
|
||||
# A negated option will do the opposite of the comments below.
|
||||
#
|
||||
#-- strip: Strip symbols from binaries/libraries
|
||||
#-- docs: Save doc directories specified by DOC_DIRS
|
||||
#-- libtool: Leave libtool (.la) files in packages
|
||||
#-- staticlibs: Leave static library (.a) files in packages
|
||||
#-- emptydirs: Leave empty directories in packages
|
||||
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
|
||||
#-- purge: Remove files specified by PURGE_TARGETS
|
||||
#-- upx: Compress binary executable files using UPX
|
||||
#-- optipng: Optimize PNG images with optipng
|
||||
#-- debug: Add debugging flags as specified in DEBUG_* variables
|
||||
#
|
||||
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !optipng !upx !debug)
|
||||
|
||||
#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
|
||||
INTEGRITY_CHECK=(md5)
|
||||
#-- Options to be used when stripping binaries. See `man strip' for details.
|
||||
STRIP_BINARIES="--strip-all"
|
||||
#-- Options to be used when stripping shared libraries. See `man strip' for details.
|
||||
STRIP_SHARED="--strip-unneeded"
|
||||
#-- Options to be used when stripping static libraries. See `man strip' for details.
|
||||
STRIP_STATIC="--strip-debug"
|
||||
#-- Manual (man and info) directories to compress (if zipman is specified)
|
||||
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
|
||||
#-- Doc directories to remove (if !docs is specified)
|
||||
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
|
||||
#-- Files to be removed from all packages (if purge is specified)
|
||||
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
|
||||
|
||||
#########################################################################
|
||||
# PACKAGE OUTPUT
|
||||
#########################################################################
|
||||
#
|
||||
# Default: put built package and cached source in build directory
|
||||
#
|
||||
#-- Destination: specify a fixed directory where all packages will be placed
|
||||
#PKGDEST=/home/packages
|
||||
#-- Source cache: specify a fixed directory where source files will be cached
|
||||
#SRCDEST=/home/sources
|
||||
#-- Source packages: specify a fixed directory where all src packages will be placed
|
||||
#SRCPKGDEST=/home/srcpackages
|
||||
#-- Log files: specify a fixed directory where all log files will be placed
|
||||
#LOGDEST=/home/makepkglogs
|
||||
#-- Packager: name/email of the person or organization building packages
|
||||
#PACKAGER="John Doe <john@doe.com>"
|
||||
#-- Specify a key to use for package signing
|
||||
#GPGKEY=""
|
||||
|
||||
#########################################################################
|
||||
# COMPRESSION DEFAULTS
|
||||
#########################################################################
|
||||
#
|
||||
COMPRESSXZ=(xz -c -z - --threads=$(nproc))
|
||||
COMPRESSGZ=(gzip -c -f -n)
|
||||
COMPRESSBZ2=(bzip2 -c -f)
|
||||
COMPRESSLRZ=(lrzip -q)
|
||||
COMPRESSLZO=(lzop -q)
|
||||
COMPRESSZ=(compress -c -f)
|
||||
|
||||
#########################################################################
|
||||
# EXTENSION DEFAULTS
|
||||
#########################################################################
|
||||
#
|
||||
# WARNING: Do NOT modify these variables unless you know what you are
|
||||
# doing.
|
||||
#
|
||||
PKGEXT='.pkg.tar.xz'
|
||||
SRCEXT='.src.tar.gz'
|
||||
|
||||
# vim: set ft=sh ts=2 sw=2 et:
|
||||
66
etc/mkinitcpio.conf
Normal file
66
etc/mkinitcpio.conf
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
# vim:set ft=sh
|
||||
# MODULES
|
||||
# The following modules are loaded before any boot hooks are
|
||||
# run. Advanced users may wish to specify all system modules
|
||||
# in this array. For instance:
|
||||
# MODULES=(piix ide_disk reiserfs)
|
||||
MODULES=(ext4 lz4 lz4_compress)
|
||||
|
||||
# BINARIES
|
||||
# This setting includes any additional binaries a given user may
|
||||
# wish into the CPIO image. This is run last, so it may be used to
|
||||
# override the actual binaries included by a given hook
|
||||
# BINARIES are dependency parsed, so you may safely ignore libraries
|
||||
BINARIES=()
|
||||
|
||||
# FILES
|
||||
# This setting is similar to BINARIES above, however, files are added
|
||||
# as-is and are not parsed in any way. This is useful for config files.
|
||||
FILES=()
|
||||
|
||||
# HOOKS
|
||||
# This is the most important setting in this file. The HOOKS control the
|
||||
# modules and scripts added to the image, and what happens at boot time.
|
||||
# Order is important, and it is recommended that you do not change the
|
||||
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
|
||||
# help on a given hook.
|
||||
# 'base' is _required_ unless you know precisely what you are doing.
|
||||
# 'udev' is _required_ in order to automatically load modules
|
||||
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
|
||||
# Examples:
|
||||
## This setup specifies all modules in the MODULES setting above.
|
||||
## No raid, lvm2, or encrypted root is needed.
|
||||
# HOOKS=(base)
|
||||
#
|
||||
## This setup will autodetect all modules for your system and should
|
||||
## work as a sane default
|
||||
# HOOKS=(base udev autodetect block filesystems)
|
||||
#
|
||||
## This setup will generate a 'full' image which supports most systems.
|
||||
## No autodetection is done.
|
||||
# HOOKS=(base udev block filesystems)
|
||||
#
|
||||
## This setup assembles a pata mdadm array with an encrypted root FS.
|
||||
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
|
||||
# HOOKS=(base udev block mdadm encrypt filesystems)
|
||||
#
|
||||
## This setup loads an lvm2 volume group on a usb device.
|
||||
# HOOKS=(base udev block lvm2 filesystems)
|
||||
#
|
||||
## NOTE: If you have /usr on a separate partition, you MUST include the
|
||||
# usr, fsck and shutdown hooks.
|
||||
HOOKS=(base udev autodetect modconf block encrypt lvm2 filesystems keyboard resume fsck)
|
||||
|
||||
# COMPRESSION
|
||||
# Use this to compress the initramfs image. By default, gzip compression
|
||||
# is used. Use 'cat' to create an uncompressed image.
|
||||
#COMPRESSION="gzip"
|
||||
#COMPRESSION="bzip2"
|
||||
#COMPRESSION="lzma"
|
||||
#COMPRESSION="xz"
|
||||
#COMPRESSION="lzop"
|
||||
#COMPRESSION="lz4"
|
||||
|
||||
# COMPRESSION_OPTIONS
|
||||
# Additional options for the compressor
|
||||
#COMPRESSION_OPTIONS=()
|
||||
21
etc/systemd-config/coredump.conf
Normal file
21
etc/systemd-config/coredump.conf
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# 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=
|
||||
6
etc/systemd-config/journal-remote.conf
Normal file
6
etc/systemd-config/journal-remote.conf
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[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
|
||||
5
etc/systemd-config/journal-upload.conf
Normal file
5
etc/systemd-config/journal-upload.conf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[Upload]
|
||||
# URL=
|
||||
# ServerKeyFile=/etc/ssl/private/journal-upload.pem
|
||||
# ServerCertificateFile=/etc/ssl/certs/journal-upload.pem
|
||||
# TrustedCertificateFile=/etc/ssl/ca/trusted.pem
|
||||
42
etc/systemd-config/journald.conf
Normal file
42
etc/systemd-config/journald.conf
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# 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
|
||||
43
etc/systemd-config/journald.conf.pacnew
Normal file
43
etc/systemd-config/journald.conf.pacnew
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# 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
|
||||
38
etc/systemd-config/logind.conf
Normal file
38
etc/systemd-config/logind.conf
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# 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%
|
||||
8
etc/systemd-config/network/20-wired.network
Normal file
8
etc/systemd-config/network/20-wired.network
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Match]
|
||||
Name=enp2s0
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
|
||||
[DHCP]
|
||||
RouteMetric=10
|
||||
8
etc/systemd-config/network/25-wireless.network
Normal file
8
etc/systemd-config/network/25-wireless.network
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Match]
|
||||
Name=wlp3s0
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
|
||||
[DHCP]
|
||||
RouteMetric=20
|
||||
8
etc/systemd-config/network/26-wireless.network
Normal file
8
etc/systemd-config/network/26-wireless.network
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Match]
|
||||
Name=wlp0s20f0u2
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
|
||||
[DHCP]
|
||||
RouteMetric=20
|
||||
23
etc/systemd-config/resolved.conf
Normal file
23
etc/systemd-config/resolved.conf
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# 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
|
||||
57
etc/systemd-config/swap.conf
Normal file
57
etc/systemd-config/swap.conf
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
################################################################################
|
||||
# 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
|
||||
65
etc/systemd-config/system.conf
Normal file
65
etc/systemd-config/system.conf
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
# 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
etc/systemd-config/system/dbus-org.freedesktop.network1.service
Symbolic link
1
etc/systemd-config/system/dbus-org.freedesktop.network1.service
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/systemd-networkd.service
|
||||
1
etc/systemd-config/system/dbus-org.freedesktop.resolve1.service
Symbolic link
1
etc/systemd-config/system/dbus-org.freedesktop.resolve1.service
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/systemd-resolved.service
|
||||
1
etc/systemd-config/system/getty.target.wants/getty@tty1.service
Symbolic link
1
etc/systemd-config/system/getty.target.wants/getty@tty1.service
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/getty@.service
|
||||
1
etc/systemd-config/system/multi-user.target.wants/acpid.service
Symbolic link
1
etc/systemd-config/system/multi-user.target.wants/acpid.service
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/acpid.service
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/apparmor.service
|
||||
1
etc/systemd-config/system/multi-user.target.wants/dhcpcd.service
Symbolic link
1
etc/systemd-config/system/multi-user.target.wants/dhcpcd.service
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/dhcpcd.service
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/irqbalance.service
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/lm_sensors.service
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/remote-fs.target
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/systemd-networkd.service
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/systemd-resolved.service
|
||||
1
etc/systemd-config/system/multi-user.target.wants/tlp.service
Symbolic link
1
etc/systemd-config/system/multi-user.target.wants/tlp.service
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/etc/systemd/system/tlp.service
|
||||
1
etc/systemd-config/system/multi-user.target.wants/tor.service
Symbolic link
1
etc/systemd-config/system/multi-user.target.wants/tor.service
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/tor.service
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/wpa_supplicant@.service
|
||||
8
etc/systemd-config/system/netctl@failover.service
Normal file
8
etc/systemd-config/system/netctl@failover.service
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
.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
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/systemd-networkd-wait-online.service
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/systemd-networkd.socket
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/system/systemd-timesyncd.service
|
||||
1
etc/systemd-config/system/systemd-rfkill.service
Symbolic link
1
etc/systemd-config/system/systemd-rfkill.service
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/dev/null
|
||||
1
etc/systemd-config/system/systemd-rfkill.socket
Symbolic link
1
etc/systemd-config/system/systemd-rfkill.socket
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/dev/null
|
||||
20
etc/systemd-config/system/tlp.service
Normal file
20
etc/systemd-config/system/tlp.service
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# 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
|
||||
13
etc/systemd-config/system/tor-router.service
Normal file
13
etc/systemd-config/system/tor-router.service
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[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
|
||||
19
etc/systemd-config/timesyncd.conf
Normal file
19
etc/systemd-config/timesyncd.conf
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# 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
|
||||
44
etc/systemd-config/user.conf
Normal file
44
etc/systemd-config/user.conf
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# 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
etc/systemd-config/user/sockets.target.wants/dirmngr.socket
Symbolic link
1
etc/systemd-config/user/sockets.target.wants/dirmngr.socket
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/user/dirmngr.socket
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/user/gpg-agent-browser.socket
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/user/gpg-agent-extra.socket
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/user/gpg-agent-ssh.socket
|
||||
1
etc/systemd-config/user/sockets.target.wants/gpg-agent.socket
Symbolic link
1
etc/systemd-config/user/sockets.target.wants/gpg-agent.socket
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/user/gpg-agent.socket
|
||||
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/user/p11-kit-server.socket
|
||||
1
etc/systemd-config/user/sockets.target.wants/pipewire.socket
Symbolic link
1
etc/systemd-config/user/sockets.target.wants/pipewire.socket
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/user/pipewire.socket
|
||||
1
etc/systemd-config/user/sockets.target.wants/pulseaudio.socket
Symbolic link
1
etc/systemd-config/user/sockets.target.wants/pulseaudio.socket
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/user/pulseaudio.socket
|
||||
Loading…
Add table
Add a link
Reference in a new issue