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 /mail.rc
/man.conf /man.conf
/mke2fs.conf /mke2fs.conf
/modulefiles/
/modprobe.d/ /modprobe.d/
/modules-load.d/ /modules-load.d/
/mpv/ /mpv/
/mtab /mtab
/mtools.conf /mtools.conf
/netconfig /netconfig
/nftables/
/nsswitch.conf /nsswitch.conf
/os-release /os-release
/pam.d/ /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 MakeModel Generic PCL Laser Printer
DeviceURI http://172.16.5.203 DeviceURI http://172.16.5.203
State Idle State Idle
StateTime 1723654311 StateTime 1728479794
ConfigTime 1710247750 ConfigTime 1710247750
Reason cups-ipp-conformance-failure-report Reason cups-ipp-conformance-failure-report
Reason cups-ipp-missing-send-document Reason cups-ipp-missing-send-document
Reason media-empty Reason media-empty
Reason media-needed Reason media-needed
Reason output-area-full
Type 12356 Type 12356
Accepting Yes Accepting Yes
Shared No Shared No
@ -28,11 +27,11 @@ KLimit 0
OpPolicy default OpPolicy default
ErrorPolicy stop-printer ErrorPolicy stop-printer
Attribute marker-colors \#FFFFFF,#00FFFF,#FF00FF,#FFFF00 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-low-levels 5,5,5,5
Attribute marker-high-levels 100,100,100,100 Attribute marker-high-levels 100,100,100,100
Attribute marker-message marker-message Attribute marker-message marker-message
Attribute marker-names Black Toner Cartridge,Cyan Toner Cartridge,Magenta Toner Cartridge,Yellow Toner Cartridge Attribute marker-names Black Toner Cartridge,Cyan Toner Cartridge,Magenta Toner Cartridge,Yellow Toner Cartridge
Attribute marker-types toner,toner,toner,toner Attribute marker-types toner,toner,toner,toner
Attribute marker-change-time 1723654289 Attribute marker-change-time 1728479772
</DefaultPrinter> </DefaultPrinter>

View file

@ -49,3 +49,4 @@ mysql:x:983:
postgres:x:982: postgres:x:982:
redis:x:981: redis:x:981:
netbox:x:980: 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 restrict -6 ::1 limited nomodify nopeer notrap kod
# Allow local networks to sync with us. # 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. # Where to store the drift calculation.
driftfile /var/db/ntpd/drift 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 cups:x:996:10:cups unprivileged user:/var/spool/cups:/sbin/nologin
_saned:x:995:988:_saned unprivileged user:/var/empty:/sbin/nologin _saned:x:995:988:_saned unprivileged user:/var/empty:/sbin/nologin
_mlocate:x:994:993:_mlocate 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 ntpd:x:992:991:ntpd unprivileged user:/var/db/ntpd:/sbin/nologin
rtkit:x:991:990:rtkit unprivileged user:/proc:/sbin/nologin rtkit:x:991:990:rtkit unprivileged user:/proc:/sbin/nologin
pulse:x:990:991:pulse unprivileged user:/var/empty:/sbin/nologin pulse:x:990:991:pulse unprivileged user:/var/empty:/sbin/nologin

View file

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

View file

@ -23,7 +23,7 @@ HARDWARECLOCK="UTC"
KEYMAP=uk KEYMAP=uk
# Console font to load, see setfont(8). # Console font to load, see setfont(8).
FONT="ter-v28n" FONT="ter-122n"
# Console map to load, see setfont(8). # Console map to load, see setfont(8).
#FONT_MAP= #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/ /lxdm/
/mdadm/ /mdadm/
/mysqld/ /mysqld/
/netbox-rq/
/netbox/
/nfs-server/ /nfs-server/
/nftables/
/ntpd /ntpd
/php-fpm8.3/ /php-fpm8.3/
/polkitd/ /polkitd/
/postgresql16/
/redis/
/rpcbind/ /rpcbind/
/rpcblkmapd/ /rpcblkmapd/
/rpcgssd/ /rpcgssd/