Simplified network config and removed old service files

This commit is contained in:
Marko Korhonen 2020-12-06 12:43:17 +02:00
parent 98f5870914
commit 4377b95239
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
19 changed files with 1 additions and 222 deletions

View file

@ -41,9 +41,6 @@ dotfiles:
f_freetype2.sh:
dst: /etc/profile.d/freetype2.sh
src: etc/profile.d/freetype2.sh
f_iwd@.service:
dst: /etc/systemd/system/iwd@.service
src: etc/systemd/system/iwd@.service
f_fonts.conf:
dst: /etc/fonts/local.conf
src: etc/fonts/local.conf
@ -95,21 +92,6 @@ dotfiles:
f_20-quiet-printk.conf:
src: etc/sysctl.d/20-quiet-printk.conf
dst: /etc/sysctl.d/20-quiet-printk.conf
f_ipmi-static.service:
src: etc/systemd/system/ipmi-static.service
dst: /etc/systemd/system/ipmi-static.service
f_ipmi-temp.service:
src: etc/systemd/system/ipmi-temp.service
dst: /etc/systemd/system/ipmi-temp.service
f_ipmi-temp.timer:
src: etc/systemd/system/ipmi-temp.timer
dst: /etc/systemd/system/ipmi-temp.timer
f_ipmi-fans.service:
src: etc/systemd/system/ipmi-fans.service
dst: /etc/systemd/system/ipmi-fans.service
f_ipmi-fans.timer:
src: etc/systemd/system/ipmi-fans.timer
dst: /etc/systemd/system/ipmi-fans.timer
f_system.conf:
src: etc/systemd/system.conf
dst: /etc/systemd/system.conf
@ -152,7 +134,6 @@ profiles:
- d_bin
- f_adb.service
- f_bluetooth.conf
- f_iwd@.service
- f_sshd_config
- f_logind.conf
- f_60-uinput-permissions.rules

View file

@ -5,5 +5,4 @@ Name=enp*
DHCP=yes
[DHCP]
RouteMetric=10
UseDomains=true

View file

@ -1,6 +0,0 @@
[Match]
MACAddress=00:e0:4c:68:05:90
[Link]
Description=USB to Ethernet Adapter
Name=usb0

View file

@ -1,9 +1,8 @@
[Match]
Name=usb0
Name=w*
[Network]
DHCP=yes
[DHCP]
RouteMetric=10
UseDomains=true

View file

@ -1,9 +0,0 @@
[Match]
Name=wlp*
[Network]
DHCP=yes
[DHCP]
RouteMetric=20
UseDomains=true

View file

@ -1,6 +0,0 @@
[Match]
MACAddress=dc:fb:48:2b:b7:86
[Link]
Description=Internal wireless adapter
Name=wlan0

View file

@ -1,9 +0,0 @@
[Match]
Name=wlan0
[Network]
DHCP=yes
[DHCP]
RouteMetric=20
UseDomains=true

View file

@ -1,70 +1,2 @@
# 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
#NUMAPolicy=default
#NUMAMask=
#RuntimeWatchdogSec=0
#RebootWatchdogSec=10min
#ShutdownWatchdogSec=10min
#KExecWatchdogSec=0
#WatchdogDevice=
#CapabilityBoundingSet=
#NoNewPrivileges=no
#SystemCallArchitectures=
#TimerSlackNSec=
#StatusUnitFormat=description
#DefaultTimerAccuracySec=1min
#DefaultStandardOutput=journal
#DefaultStandardError=inherit
#DefaultTimeoutStartSec=90s
DefaultTimeoutStopSec=30s
#DefaultTimeoutAbortSec=
#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=1024:524288
#DefaultLimitAS=
#DefaultLimitNPROC=
#DefaultLimitMEMLOCK=
#DefaultLimitLOCKS=
#DefaultLimitSIGPENDING=
#DefaultLimitMSGQUEUE=
#DefaultLimitNICE=
#DefaultLimitRTPRIO=
#DefaultLimitRTTIME=

View file

@ -1,9 +0,0 @@
[Unit]
Description=Write fan speeds to tmp
[Service]
Type=simple
ExecStart=/home/balrog/.scripts/ipmi/fans.sh
[Install]
WantedBy=multi-user.target

View file

@ -1,9 +0,0 @@
[Unit]
Description=Run fans service every 30s
[Timer]
OnUnitInactiveSec=15s
OnBootSec=15s
[Install]
WantedBy=timers.target

View file

@ -1,9 +0,0 @@
[Unit]
Description=Set fan speed
[Service]
Type=simple
ExecStart=/home/balrog/Scripts/ipmi/static.sh
[Install]
WantedBy=multi-user.target

View file

@ -1,9 +0,0 @@
[Unit]
Description=Watch server temperature
[Service]
Type=simple
ExecStart=/home/balrog/.scripts/ipmi/temp.sh
[Install]
WantedBy=multi-user.target

View file

@ -1,9 +0,0 @@
[Unit]
Description=Watches server temperature
[Timer]
OnUnitInactiveSec=5s
OnBootSec=5s
[Install]
WantedBy=timers.target

View file

@ -1,9 +0,0 @@
[Unit]
Description=Set fan speed
[Service]
Type=simple
ExecStart=/home/balrog/Scripts/ipmi/static.sh
[Install]
WantedBy=multi-user.target

View file

@ -1,9 +0,0 @@
[Unit]
Description=Watch server temperature
[Service]
Type=simple
ExecStart=/home/balrog/Scripts/ipmi/temp.sh
[Install]
WantedBy=multi-user.target

View file

@ -1,9 +0,0 @@
[Unit]
Description=Watches server temperature
[Timer]
OnUnitInactiveSec=5s
OnBootSec=5s
[Install]
WantedBy=timers.target

View file

@ -1,3 +0,0 @@
[Unit]
BindsTo=sys-subsystem-net-devices-wlan0.device
After=sys-subsystem-net-devices-wlan0.device

View file

@ -1,14 +0,0 @@
[Unit]
Description=Wireless service on %I
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=dbus
BusName=net.connman.iwd
ExecStart=/usr/lib/iwd/iwd --interface %i
LimitNPROC=1
Restart=on-failure
[Install]
WantedBy=multi-user.target

View file

@ -1,13 +0,0 @@
[Unit]
Description=rTorrent in tmux
After=network.target
[Service]
User=rtorrent
WorkingDirectory=/home/rtorrent
Environment="TERM=linux"
Type=forking
ExecStart=/bin/bash -c "/usr/bin/tmux -2u -L rtps-%u new-session -s rtps-%u -n rT-PS -d /bin/bash -c rtorrent"
[Install]
WantedBy=default.target