Final updates for work laptop before I leave.

This commit is contained in:
Darren 'Tadgy' Austin 2024-10-10 13:48:07 +01:00
commit 10cdf5b1c9
12 changed files with 33 additions and 14 deletions

2
etc/.gitignore vendored
View file

@ -63,12 +63,14 @@
/mail.rc
/man.conf
/mke2fs.conf
/modulefiles/
/modprobe.d/
/modules-load.d/
/mpv/
/mtab
/mtools.conf
/netconfig
/nftables/
/nsswitch.conf
/os-release
/pam.d/

View file

@ -0,0 +1,9 @@
#!/bin/sh
# This shell script invokes NetBox's housekeeping management command, which
# intended to be run nightly. This script can be copied into your system's
# daily cron directory (e.g. /etc/cron.daily), or referenced directly from
# within the cron configuration file.
#
# If NetBox has been installed into a nonstandard location, update the paths
# below.
/opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py housekeeping

View file

@ -11,13 +11,12 @@ Location
MakeModel Generic PCL Laser Printer
DeviceURI http://172.16.5.203
State Idle
StateTime 1723654311
StateTime 1728479794
ConfigTime 1710247750
Reason cups-ipp-conformance-failure-report
Reason cups-ipp-missing-send-document
Reason media-empty
Reason media-needed
Reason output-area-full
Type 12356
Accepting Yes
Shared No
@ -28,11 +27,11 @@ KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Attribute marker-colors \#FFFFFF,#00FFFF,#FF00FF,#FFFF00
Attribute marker-levels 55,51,51,51
Attribute marker-levels 30,25,25,25
Attribute marker-low-levels 5,5,5,5
Attribute marker-high-levels 100,100,100,100
Attribute marker-message marker-message
Attribute marker-names Black Toner Cartridge,Cyan Toner Cartridge,Magenta Toner Cartridge,Yellow Toner Cartridge
Attribute marker-types toner,toner,toner,toner
Attribute marker-change-time 1723654289
Attribute marker-change-time 1728479772
</DefaultPrinter>

View file

@ -49,3 +49,4 @@ mysql:x:983:
postgres:x:982:
redis:x:981:
netbox:x:980:
docker:x:979:

5
etc/logrotate.d/apache Normal file
View file

@ -0,0 +1,5 @@
/var/log/httpd/*log {
postrotate
/etc/init.d/apache reload >/dev/null 2>&1 || true
endscript
}

View file

@ -17,7 +17,7 @@ restrict -4 127.0.0.1 limited nomodify nopeer notrap kod
restrict -6 ::1 limited nomodify nopeer notrap kod
# Allow local networks to sync with us.
restrict 10.0.0.0 mask 255.0.0.0 limited nomodify notrap kod
restrict -4 10.0.0.0 mask 255.0.0.0 limited nomodify notrap kod
# Where to store the drift calculation.
driftfile /var/db/ntpd/drift

View file

@ -7,7 +7,7 @@ polkitd:x:997:993:polkitd unprivileged user:/var/empty:/sbin/nologin
cups:x:996:10:cups unprivileged user:/var/spool/cups:/sbin/nologin
_saned:x:995:988:_saned unprivileged user:/var/empty:/sbin/nologin
_mlocate:x:994:993:_mlocate unprivileged user:/var/empty:/sbin/nologin
rpc:x:993:992:rpc unprivileged user:/var/empty:/sbin/nologin
rpc:x:993:990:rpc unprivileged user:/var/empty:/sbin/nologin
ntpd:x:992:991:ntpd unprivileged user:/var/db/ntpd:/sbin/nologin
rtkit:x:991:990:rtkit unprivileged user:/proc:/sbin/nologin
pulse:x:990:991:pulse unprivileged user:/var/empty:/sbin/nologin

View file

@ -42,6 +42,7 @@ base-files
base-system
bash
bc
beanshell
bind-libs
bind-utils
binutils
@ -250,6 +251,7 @@ hdf5
hdparm
hicolor-icon-theme
highway
hsqldb1.8.0
htop
hunspell
hunspell-de
@ -420,6 +422,7 @@ libclang
libclang-cpp17
libclang17
libcloudproviders
libcmis
libcolord
libcolord-32bit
libcrypto1.1
@ -859,7 +862,6 @@ mlocate
mobile-broadband-provider-info
moreutils
mousepad
mozjs102
mozjs115
mpfr
mpv
@ -903,10 +905,8 @@ oclock
oneVPL
oniguruma
openbox
openjdk
openjdk-common
openjdk8
openjdk8-jre
openjdk21-jre
openresolv
openssh
openssl
@ -1034,7 +1034,6 @@ python3-paramiko
python3-parsing
python3-pip
python3-ply
python3-pyasn1
python3-pycparser
python3-pynacl
python3-pytz
@ -1075,6 +1074,7 @@ qt6-widgets
qtchooser
redis
removed-packages
rhino
rofi
rpcbind
rsync

View file

@ -23,7 +23,7 @@ HARDWARECLOCK="UTC"
KEYMAP=uk
# Console font to load, see setfont(8).
FONT="ter-v28n"
FONT="ter-122n"
# Console map to load, see setfont(8).
#FONT_MAP=

View file

@ -1 +0,0 @@
/etc/sv/cups-browsed

View file

@ -1 +0,0 @@
/etc/sv/mysqld

5
etc/sv/.gitignore vendored
View file

@ -38,10 +38,15 @@
/lxdm/
/mdadm/
/mysqld/
/netbox-rq/
/netbox/
/nfs-server/
/nftables/
/ntpd
/php-fpm8.3/
/polkitd/
/postgresql16/
/redis/
/rpcbind/
/rpcblkmapd/
/rpcgssd/