Initial commit of Phil's config files.

This commit is contained in:
Darren 'Tadgy' Austin 2023-10-19 20:35:36 +01:00
commit 3fae792a80
73 changed files with 1197 additions and 184 deletions

44
.gitignore vendored
View file

@ -1,22 +1,22 @@
bin /bin
boot/ /boot/
data/ /data/
dev/ /dev/
home/ /home/
lib /lib
lib32 /lib32
lib64 /lib64
lost+found/ /lost+found/
media/ /media/
misc/ /misc/
mnt/ /mnt/
net/ /net/
opt/ /opt/
proc/ /proc/
root/ /root/
run/ /run/
sbin /sbin
srv/ /srv/
sys/ /sys/
tmp/ /tmp/
usr/ /usr/

232
etc/.gitignore vendored
View file

@ -1,102 +1,130 @@
*~ /*~
*.lock /*.lock
*.orig /*.orig
*.OLD /*.OLD
acpi/ /UPower/
bash/ /X11/
bindresvport.blacklist /acpi/
ca-certificates/ /apparmor.d/
ca-certificates.conf /asound.conf
colors/ /bash/
cron.d/ /bindresvport.blacklist
cron.hourly/ /ca-certificates/
cron.monthly/ /ca-certificates.conf
cron.weekly/ /certificates/
crypttab /colors/
cups/ /cron.d/
dbus-1/ /cron.hourly/
default/ /cron.monthly/
depmod.d/ /cron.weekly/
dhcpcd.conf /crypttab
dns/ /cupshelpers/
dracut.conf /dbus-1/
dracut.conf.d/ /default/
e2scrub.conf /depmod.d/
environment /dhcpcd.conf
ethertypes /dkms/
exports /dns/
exports.d/ /dnsmasq.conf
filesystems /dracut.conf
fonts/ /dracut.conf.d/
gai.conf /e2scrub.conf
group- /environment
grub.d/ /ethertypes
gshadow /exports
gshadow- /exports.d/
gtk-3.0/ /fonts/
host.conf /fuse.conf
hosts /gai.conf
idmapd.conf /gimp/
inputrc /gprofng.rc
iproute2/ /group-
iptables/ /grub.d/
issue /gshadow
kernel.d/ /gshadow-
ld.so.conf /gtk-2.0/
ld.so.conf.d/ /gtk-3.0/
libnl/ /host.conf
localtime /hosts
login.defs /idmapd.conf
lvm/ /inputrc
lynx.cfg /iproute2/
lynx.lss /iptables/
mail.rc /irssi.conf
mailx.rc /issue
man.conf /kernel.d/
mke2fs.conf /ld.so.cache
modprobe.d/ /ld.so.conf
modules-load.d/ /ld.so.conf.d/
mtab /libblockdev/
netconfig /libnl/
nsswitch.conf /libpaper.d/
ntp.conf /libvirt/
os-release /localtime
pam.d/ /login.defs
passwd /logrotate.d/
passwd- /lvm/
pkcs11/ /lxdm/
profile /lynx.cfg
profile.d/ /lynx.lss
protocols /mail.rc
rc.local /man.conf
rc.shutdown* /mke2fs.conf
resolv.conf /modprobe.d/
rpc /modules-load.d/
runit/ /mtab
screenrc /netconfig
securetty /nsswitch.conf
security/ /openldap/
services /os-release
shadow /pam.d/
shadow- /papersize
shells /passwd-
skel/ /pinforc
ssl/ /pkcs11/
subgid /polkit-1/
subgid- /profile
subuid /profile.d/
subuid- /protocols
sudo.conf /pulse/
sudoers /rc.shutdown
sudoers.dist /rc_maps.cfg
sv/ /resolv.conf
sysctl.conf /rpc
sysctl.d/ /rsyncd.conf
udev/ /samba/
vmware-tools/ /sane.d/
wpa_supplicant/ /sasl2/
xattr.conf /screenrc
xbps.d/ /security/
xdg/ /sensors3.conf
xtables.conf /services
zzz.d/ /sgml/
/shadow
/shadow-
/shells
/skel/
/ssl/
/subgid-
/subuid-
/sudo.conf
/sudoers
/sudoers.dist
/sysconfig/
/sysctl.conf
/s-nail.rc
/tigervnc/
/ts.conf
/udev/
/udisks2/
/vbox/
/vdpau_wrapper.cfg
/wgetrc
/wpa_supplicant/
/xattr.conf
/xbps.d/
/xdg/
/xinetd.d/
/xml/
/xtables.conf
/zzz.d/

12
etc/autofs/.gitignore vendored
View file

@ -1,6 +1,6 @@
auto.master /auto.master
auto.misc /auto.misc
auto.net* /auto.net*
auto.smb* /auto.smb*
autofs.conf /autofs.conf
autofs_ldap_auth.conf /autofs_ldap_auth.conf

View file

@ -1,6 +0,0 @@
_DH_.pem
_msmtp_-afterdark.lan-cert.pem
_msmtp_-afterdark.lan-key.pem
_msmtp_-afterdark.lan-key.pem.gpg
_msmtp_-cert.pem
_msmtp_-key.pem

View file

@ -1,2 +1,3 @@
makewhatis /makewhatis
shadow /mupdatedb
/shadow

10
etc/cups/.gitignore vendored Normal file
View file

@ -0,0 +1,10 @@
/*.O
/*.default
/classes.conf
/client.conf
/cupsd.conf
/cups-browsed.conf
/cups-files.conf
/snmp.conf
/ssl/
/subscriptions.conf

1
etc/cups/ppd/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/*.O

View file

@ -0,0 +1,154 @@
*PPD-Adobe: "4.3"
*%%%% PPD file for DCP-1600 series with CUPS.
*%%%% Created by the CUPS PPD Compiler CUPS v2.3.3.
*FormatVersion: "4.3"
*FileVersion: "6"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName: "br1600.ppd"
*Product: "(DCP-1600 series)"
*Manufacturer: "Brother"
*ModelName: "Brother DCP-1600 series"
*ShortNickName: "Brother DCP-1600 series"
*NickName: "Brother DCP-1600 series, using brlaser v6"
*PSVersion: "(3010.000) 0"
*LanguageLevel: "3"
*ColorDevice: False
*DefaultColorSpace: Gray
*FileSystem: False
*Throughput: "1"
*LandscapeOrientation: Plus90
*TTRasterizer: Type42
*% Driver-defined attributes...
*1284DeviceID: "MFG:Brother;CMD:PJL,XL2HB;MDL:DCP-1600 series;CLS:PRINTER;CID:Brother Laser Type1;"
*cupsVersion: 2.3
*cupsModelNumber: 0
*cupsManualCopies: False
*cupsFilter: "application/vnd.cups-raster 33 rastertobrlaser"
*cupsLanguages: "en"
*OpenUI *PageSize/Media Size: PickOne
*OrderDependency: 10 AnySetup *PageSize
*DefaultPageSize: A4
*PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageSize A5/A5: "<</PageSize[420 595]/ImagingBBox null>>setpagedevice"
*PageSize A6/A6: "<</PageSize[297 420]/ImagingBBox null>>setpagedevice"
*PageSize B5/JIS B5: "<</PageSize[516 729]/ImagingBBox null>>setpagedevice"
*PageSize B6/JIS B6: "<</PageSize[363 516]/ImagingBBox null>>setpagedevice"
*PageSize EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice"
*PageSize EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice"
*PageSize EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice"
*PageSize Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice"
*PageSize Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageSize Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageSize
*OpenUI *PageRegion/Media Size: PickOne
*OrderDependency: 10 AnySetup *PageRegion
*DefaultPageRegion: A4
*PageRegion A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageRegion A5/A5: "<</PageSize[420 595]/ImagingBBox null>>setpagedevice"
*PageRegion A6/A6: "<</PageSize[297 420]/ImagingBBox null>>setpagedevice"
*PageRegion B5/JIS B5: "<</PageSize[516 729]/ImagingBBox null>>setpagedevice"
*PageRegion B6/JIS B6: "<</PageSize[363 516]/ImagingBBox null>>setpagedevice"
*PageRegion EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice"
*PageRegion EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice"
*PageRegion EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice"
*PageRegion Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice"
*PageRegion Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageRegion Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageRegion
*DefaultImageableArea: A4
*ImageableArea A4/A4: "8 8 587 826"
*ImageableArea A5/A5: "8 8 412 579"
*ImageableArea A6/A6: "8 8 289 404"
*ImageableArea B5/JIS B5: "8 8 508 713"
*ImageableArea B6/JIS B6: "8 8 355 500"
*ImageableArea EnvC5/Envelope C5: "8 8 451 633"
*ImageableArea EnvMonarch/Envelope Monarch: "8 8 271 524"
*ImageableArea EnvDL/Envelope DL: "8 8 304 608"
*ImageableArea Executive/Executive: "8 8 514 740"
*ImageableArea Legal/US Legal: "8 8 604 992"
*ImageableArea Letter/US Letter: "8 8 604 776"
*DefaultPaperDimension: A4
*PaperDimension A4/A4: "595 842"
*PaperDimension A5/A5: "420 595"
*PaperDimension A6/A6: "297 420"
*PaperDimension B5/JIS B5: "516 729"
*PaperDimension B6/JIS B6: "363 516"
*PaperDimension EnvC5/Envelope C5: "459 649"
*PaperDimension EnvMonarch/Envelope Monarch: "279 540"
*PaperDimension EnvDL/Envelope DL: "312 624"
*PaperDimension Executive/Executive: "522 756"
*PaperDimension Legal/US Legal: "612 1008"
*PaperDimension Letter/US Letter: "612 792"
*OpenUI *Resolution/Resolution: PickOne
*OrderDependency: 10 AnySetup *Resolution
*DefaultResolution: 600dpi
*Resolution 600dpi/600 DPI: "<</HWResolution[600 600]/cupsBitsPerColor 1/cupsRowCount 0/cupsRowFeed 0/cupsRowStep 0/cupsColorSpace 3>>setpagedevice"
*Resolution 1200dpi/1200HQ: "<</HWResolution[1200 1200]/cupsBitsPerColor 1/cupsRowCount 0/cupsRowFeed 0/cupsRowStep 0/cupsColorSpace 3>>setpagedevice"
*CloseUI: *Resolution
*OpenUI *InputSlot/Media Source: PickOne
*OrderDependency: 10 AnySetup *InputSlot
*DefaultInputSlot: Auto
*InputSlot Auto/Auto-select: "<</MediaPosition 0>>setpagedevice"
*InputSlot Tray1/Tray 1: "<</MediaPosition 1>>setpagedevice"
*InputSlot Tray2/Tray 2: "<</MediaPosition 2>>setpagedevice"
*InputSlot Tray3/Tray 3: "<</MediaPosition 3>>setpagedevice"
*InputSlot MPTray/MP Tray: "<</MediaPosition 4>>setpagedevice"
*InputSlot Manual/Manual: "<</MediaPosition 5>>setpagedevice"
*CloseUI: *InputSlot
*OpenUI *MediaType/Media Type: PickOne
*OrderDependency: 10 AnySetup *MediaType
*DefaultMediaType: PLAIN
*MediaType PLAIN/Plain paper: "<</MediaType(PLAIN)/cupsMediaType 0>>setpagedevice"
*MediaType THIN/Thin paper: "<</MediaType(THIN)/cupsMediaType 1>>setpagedevice"
*MediaType THICK/Thick paper: "<</MediaType(THICK)/cupsMediaType 2>>setpagedevice"
*MediaType THICKER/Thicker paper: "<</MediaType(THICKER)/cupsMediaType 3>>setpagedevice"
*MediaType BOND/Bond paper: "<</MediaType(BOND)/cupsMediaType 4>>setpagedevice"
*MediaType TRANS/Transparencies: "<</MediaType(TRANS)/cupsMediaType 5>>setpagedevice"
*MediaType ENV/Envelopes: "<</MediaType(ENV)/cupsMediaType 6>>setpagedevice"
*MediaType ENV-THICK/Thick envelopes: "<</MediaType(ENV-THICK)/cupsMediaType 7>>setpagedevice"
*MediaType ENV-THIN/Thin envelopes: "<</MediaType(ENV-THIN)/cupsMediaType 8>>setpagedevice"
*CloseUI: *MediaType
*OpenUI *brlaserEconomode/Toner save mode: Boolean
*OrderDependency: 10 AnySetup *brlaserEconomode
*DefaultbrlaserEconomode: False
*brlaserEconomode False/Off: "<</cupsInteger10 0>>setpagedevice"
*brlaserEconomode True/On: "<</cupsInteger10 1>>setpagedevice"
*CloseUI: *brlaserEconomode
*DefaultFont: Courier
*Font AvantGarde-Book: Standard "(1.05)" Standard ROM
*Font AvantGarde-BookOblique: Standard "(1.05)" Standard ROM
*Font AvantGarde-Demi: Standard "(1.05)" Standard ROM
*Font AvantGarde-DemiOblique: Standard "(1.05)" Standard ROM
*Font Bookman-Demi: Standard "(1.05)" Standard ROM
*Font Bookman-DemiItalic: Standard "(1.05)" Standard ROM
*Font Bookman-Light: Standard "(1.05)" Standard ROM
*Font Bookman-LightItalic: Standard "(1.05)" Standard ROM
*Font Courier: Standard "(1.05)" Standard ROM
*Font Courier-Bold: Standard "(1.05)" Standard ROM
*Font Courier-BoldOblique: Standard "(1.05)" Standard ROM
*Font Courier-Oblique: Standard "(1.05)" Standard ROM
*Font Helvetica: Standard "(1.05)" Standard ROM
*Font Helvetica-Bold: Standard "(1.05)" Standard ROM
*Font Helvetica-BoldOblique: Standard "(1.05)" Standard ROM
*Font Helvetica-Narrow: Standard "(1.05)" Standard ROM
*Font Helvetica-Narrow-Bold: Standard "(1.05)" Standard ROM
*Font Helvetica-Narrow-BoldOblique: Standard "(1.05)" Standard ROM
*Font Helvetica-Narrow-Oblique: Standard "(1.05)" Standard ROM
*Font Helvetica-Oblique: Standard "(1.05)" Standard ROM
*Font NewCenturySchlbk-Bold: Standard "(1.05)" Standard ROM
*Font NewCenturySchlbk-BoldItalic: Standard "(1.05)" Standard ROM
*Font NewCenturySchlbk-Italic: Standard "(1.05)" Standard ROM
*Font NewCenturySchlbk-Roman: Standard "(1.05)" Standard ROM
*Font Palatino-Bold: Standard "(1.05)" Standard ROM
*Font Palatino-BoldItalic: Standard "(1.05)" Standard ROM
*Font Palatino-Italic: Standard "(1.05)" Standard ROM
*Font Palatino-Roman: Standard "(1.05)" Standard ROM
*Font Symbol: Special "(001.005)" Special ROM
*Font Times-Bold: Standard "(1.05)" Standard ROM
*Font Times-BoldItalic: Standard "(1.05)" Standard ROM
*Font Times-Italic: Standard "(1.05)" Standard ROM
*Font Times-Roman: Standard "(1.05)" Standard ROM
*Font ZapfChancery-MediumItalic: Standard "(1.05)" Standard ROM
*Font ZapfDingbats: Special "(001.005)" Special ROM
*% End of br1600.ppd, 08022 bytes.

View file

@ -0,0 +1,214 @@
*PPD-Adobe: "4.3"
*cupsMandatory: attributes-charset attributes-natural-language printer-uri
*FormatVersion: "4.3"
*FileVersion: "2.4"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PSVersion: "(3010.000) 0"
*LanguageLevel: "3"
*FileSystem: False
*PCFileName: "ippeve.ppd"
*Manufacturer: "Brother"
*ModelName: "DCP-J1050DW"
*Product: "(DCP-J1050DW)"
*NickName: "DCP-J1050DW - IPP Everywhere"
*ShortNickName: "DCP-J1050DW - IPP Everywhere"
*ColorDevice: True
*cupsVersion: 2.4
*cupsSNMPSupplies: False
*cupsLanguages: "en_US en ja"
*APSupplies: "http://pr1/net/net/airprint.html"
*cupsStringsURI: "http://pr1/ipp/strings/dict/en.txt"
*cupsStringsURI en: "http://pr1/ipp/strings/dict/en.txt"
*cupsStringsURI ja: "http://pr1/ipp/strings/dict/ja.txt"
*cupsFilter2: "image/jpeg image/jpeg 0 -"
*cupsManualCopies: True
*cupsFilter2: "image/urf image/urf 100 -"
*OpenUI *PageSize: PickOne
*OrderDependency: 10 AnySetup *PageSize
*DefaultPageSize: A4
*PageSize 3.5x5: "<</PageSize[252 360]>>setpagedevice"
*PageSize 3.5x5.Borderless: "<</PageSize[252 360]>>setpagedevice"
*PageSize 4x6: "<</PageSize[288 432]>>setpagedevice"
*PageSize 4x6.Borderless: "<</PageSize[288 432]>>setpagedevice"
*PageSize 5x7: "<</PageSize[360 504]>>setpagedevice"
*PageSize 5x7.Borderless: "<</PageSize[360 504]>>setpagedevice"
*PageSize 5x8: "<</PageSize[360 576]>>setpagedevice"
*PageSize 5x8.Borderless: "<</PageSize[360 576]>>setpagedevice"
*PageSize A4: "<</PageSize[595.275590551181 841.889763779528]>>setpagedevice"
*PageSize A4.Borderless: "<</PageSize[595.275590551181 841.889763779528]>>setpagedevice"
*PageSize A5: "<</PageSize[419.527559055118 595.275590551181]>>setpagedevice"
*PageSize A6: "<</PageSize[297.637795275591 419.527559055118]>>setpagedevice"
*PageSize A6.Borderless: "<</PageSize[297.637795275591 419.527559055118]>>setpagedevice"
*PageSize Env10: "<</PageSize[296.985826771654 684]>>setpagedevice"
*PageSize EnvC5: "<</PageSize[459.212598425197 649.133858267717]>>setpagedevice"
*PageSize EnvDL: "<</PageSize[311.811023622047 623.622047244094]>>setpagedevice"
*PageSize EnvMonarch: "<</PageSize[278.985826771654 540]>>setpagedevice"
*PageSize Executive: "<</PageSize[522 756]>>setpagedevice"
*PageSize Letter: "<</PageSize[612 792]>>setpagedevice"
*PageSize Letter.Borderless: "<</PageSize[612 792]>>setpagedevice"
*CloseUI: *PageSize
*OpenUI *PageRegion: PickOne
*OrderDependency: 10 AnySetup *PageRegion
*DefaultPageRegion: A4
*PageRegion 3.5x5: "<</PageSize[252 360]>>setpagedevice"
*PageRegion 3.5x5.Borderless: "<</PageSize[252 360]>>setpagedevice"
*PageRegion 4x6: "<</PageSize[288 432]>>setpagedevice"
*PageRegion 4x6.Borderless: "<</PageSize[288 432]>>setpagedevice"
*PageRegion 5x7: "<</PageSize[360 504]>>setpagedevice"
*PageRegion 5x7.Borderless: "<</PageSize[360 504]>>setpagedevice"
*PageRegion 5x8: "<</PageSize[360 576]>>setpagedevice"
*PageRegion 5x8.Borderless: "<</PageSize[360 576]>>setpagedevice"
*PageRegion A4: "<</PageSize[595.275590551181 841.889763779528]>>setpagedevice"
*PageRegion A4.Borderless: "<</PageSize[595.275590551181 841.889763779528]>>setpagedevice"
*PageRegion A5: "<</PageSize[419.527559055118 595.275590551181]>>setpagedevice"
*PageRegion A6: "<</PageSize[297.637795275591 419.527559055118]>>setpagedevice"
*PageRegion A6.Borderless: "<</PageSize[297.637795275591 419.527559055118]>>setpagedevice"
*PageRegion Env10: "<</PageSize[296.985826771654 684]>>setpagedevice"
*PageRegion EnvC5: "<</PageSize[459.212598425197 649.133858267717]>>setpagedevice"
*PageRegion EnvDL: "<</PageSize[311.811023622047 623.622047244094]>>setpagedevice"
*PageRegion EnvMonarch: "<</PageSize[278.985826771654 540]>>setpagedevice"
*PageRegion Executive: "<</PageSize[522 756]>>setpagedevice"
*PageRegion Letter: "<</PageSize[612 792]>>setpagedevice"
*PageRegion Letter.Borderless: "<</PageSize[612 792]>>setpagedevice"
*CloseUI: *PageRegion
*DefaultImageableArea: A4
*DefaultPaperDimension: A4
*ImageableArea 3.5x5: "8.503937007874 8.503937007874 243.496062992126 351.496062992126"
*PaperDimension 3.5x5: "252 360"
*ImageableArea 3.5x5.Borderless: "0 0 252 360"
*PaperDimension 3.5x5.Borderless: "252 360"
*ImageableArea 4x6: "8.503937007874 8.503937007874 279.496062992126 423.496062992126"
*PaperDimension 4x6: "288 432"
*ImageableArea 4x6.Borderless: "0 0 288 432"
*PaperDimension 4x6.Borderless: "288 432"
*ImageableArea 5x7: "8.503937007874 8.503937007874 351.496062992126 495.496062992126"
*PaperDimension 5x7: "360 504"
*ImageableArea 5x7.Borderless: "0 0 360 504"
*PaperDimension 5x7.Borderless: "360 504"
*ImageableArea 5x8: "8.503937007874 8.503937007874 351.496062992126 567.496062992126"
*PaperDimension 5x8: "360 576"
*ImageableArea 5x8.Borderless: "0 0 360 576"
*PaperDimension 5x8.Borderless: "360 576"
*ImageableArea A4: "8.503937007874 8.503937007874 586.771653543307 833.385826771654"
*PaperDimension A4: "595.275590551181 841.889763779528"
*ImageableArea A4.Borderless: "0 0 595.275590551181 841.889763779528"
*PaperDimension A4.Borderless: "595.275590551181 841.889763779528"
*ImageableArea A5: "8.503937007874 8.503937007874 411.023622047244 586.771653543307"
*PaperDimension A5: "419.527559055118 595.275590551181"
*ImageableArea A6: "8.503937007874 8.503937007874 289.133858267717 411.023622047244"
*PaperDimension A6: "297.637795275591 419.527559055118"
*ImageableArea A6.Borderless: "0 0 297.637795275591 419.527559055118"
*PaperDimension A6.Borderless: "297.637795275591 419.527559055118"
*ImageableArea Env10: "8.503937007874 34.015748031496 288.48188976378 649.984251968504"
*PaperDimension Env10: "296.985826771654 684"
*ImageableArea EnvC5: "8.503937007874 34.015748031496 450.708661417323 615.11811023622"
*PaperDimension EnvC5: "459.212598425197 649.133858267717"
*ImageableArea EnvDL: "8.503937007874 34.015748031496 303.307086614173 589.606299212598"
*PaperDimension EnvDL: "311.811023622047 623.622047244094"
*ImageableArea EnvMonarch: "8.503937007874 34.015748031496 270.48188976378 505.984251968504"
*PaperDimension EnvMonarch: "278.985826771654 540"
*ImageableArea Executive: "8.503937007874 8.503937007874 513.496062992126 747.496062992126"
*PaperDimension Executive: "522 756"
*ImageableArea Letter: "8.503937007874 8.503937007874 603.496062992126 783.496062992126"
*PaperDimension Letter: "612 792"
*ImageableArea Letter.Borderless: "0 0 612 792"
*PaperDimension Letter.Borderless: "612 792"
*HWMargins: "8.503937007874 34.015748031496 8.503937007874 34.015748031496"
*ParamCustomPageSize Width: 1 points 252 612
*ParamCustomPageSize Height: 2 points 360 1008
*ParamCustomPageSize WidthOffset: 3 points 0 0
*ParamCustomPageSize HeightOffset: 4 points 0 0
*ParamCustomPageSize Orientation: 5 int 0 3
*CustomPageSize True: "pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice"
*OpenUI *InputSlot: PickOne
*OrderDependency: 10 AnySetup *InputSlot
*DefaultInputSlot: Auto
*InputSlot Auto: "<</MediaPosition 0>>setpagedevice"
*en_US.InputSlot Auto/Automatic: ""
*InputSlot Main: "<</MediaPosition 1>>setpagedevice"
*en_US.InputSlot Main/Main: ""
*CloseUI: *InputSlot
*OpenUI *MediaType: PickOne
*OrderDependency: 10 AnySetup *MediaType
*DefaultMediaType: Stationery
*MediaType Stationery: "<</MediaType(Stationery)>>setpagedevice"
*en_US.MediaType Stationery/Stationery: ""
*MediaType PhotographicGlossy: "<</MediaType(PhotographicGlossy)>>setpagedevice"
*en_US.MediaType PhotographicGlossy/Glossy Photo Paper: ""
*MediaType StationeryInkjet: "<</MediaType(StationeryInkjet)>>setpagedevice"
*en_US.MediaType StationeryInkjet/Stationery Inkjet Paper: ""
*MediaType Com.brotherBp71: "<</MediaType(Com.brotherBp71)>>setpagedevice"
*en_US.MediaType Com.brotherBp71/Brother BP71: ""
*CloseUI: *MediaType
*DefaultResolution: 300dpi
*OpenUI *cupsPrintQuality: PickOne
*OrderDependency: 10 AnySetup *cupsPrintQuality
*en_US.Translation cupsPrintQuality/Print Quality: ""
*DefaultcupsPrintQuality: Normal
*cupsPrintQuality Draft: "<</HWResolution[300 150]>>setpagedevice"
*en_US.cupsPrintQuality Draft/Draft: ""
*cupsPrintQuality Normal: "<</HWResolution[300 300]>>setpagedevice"
*en_US.cupsPrintQuality Normal/Normal: ""
*cupsPrintQuality High: "<</HWResolution[600 600]>>setpagedevice"
*en_US.cupsPrintQuality High/High: ""
*CloseUI: *cupsPrintQuality
*% ColorModel from urf-supported
*OpenUI *ColorModel: PickOne
*OrderDependency: 10 AnySetup *ColorModel
*en_US.Translation ColorModel/Color Mode: ""
*ColorModel RGB: "<</cupsColorSpace 19/cupsBitsPerColor 8/cupsColorOrder 0/cupsCompression 0>>setpagedevice"
*en_US.ColorModel RGB/Color: ""
*ColorModel Gray: "<</cupsColorSpace 18/cupsBitsPerColor 8/cupsColorOrder 0/cupsCompression 0>>setpagedevice"
*en_US.ColorModel Gray/Grayscale: ""
*DefaultColorModel: RGB
*CloseUI: *ColorModel
*APPrinterPreset Gray_with_Paper_Auto-Detect_-_Draft/Draft B&W: "
*cupsPrintQuality Draft *ColorModel Gray
com.apple.print.preset.graphicsType General
com.apple.print.preset.quality low
com.apple.print.preset.media-front-coating autodetect
com.apple.print.preset.output-mode monochrome"
*End
*APPrinterPreset Gray_with_Paper_Auto-Detect/Black and White: "
*cupsPrintQuality Normal *ColorModel Gray
com.apple.print.preset.graphicsType General
com.apple.print.preset.quality mid
com.apple.print.preset.media-front-coating autodetect
com.apple.print.preset.output-mode monochrome"
*End
*APPrinterPreset Color_with_Paper_Auto-Detect/Color: "
*cupsPrintQuality Normal *ColorModel RGB
com.apple.print.preset.graphicsType General
com.apple.print.preset.quality mid
com.apple.print.preset.media-front-coating autodetect
com.apple.print.preset.output-mode color"
*End
*APPrinterPreset Photo_with_Paper_Auto-Detect/Photo: "
*cupsPrintQuality High *ColorModel RGB
com.apple.print.preset.graphicsType Photo
com.apple.print.preset.quality high
com.apple.print.preset.media-front-coating autodetect
com.apple.print.preset.output-mode color"
*End
*OpenUI *Duplex: PickOne
*OrderDependency: 10 AnySetup *Duplex
*en_US.Translation Duplex/2-Sided Printing: ""
*DefaultDuplex: None
*Duplex None: "<</Duplex false>>setpagedevice"
*en_US.Duplex None/Off (1-Sided): ""
*Duplex DuplexNoTumble: "<</Duplex true/Tumble false>>setpagedevice"
*en_US.Duplex DuplexNoTumble/Long-Edge (Portrait): ""
*Duplex DuplexTumble: "<</Duplex true/Tumble true>>setpagedevice"
*en_US.Duplex DuplexTumble/Short-Edge (Landscape): ""
*CloseUI: *Duplex
*cupsBackSide: Rotated
*OpenUI *OutputBin: PickOne
*OrderDependency: 10 AnySetup *OutputBin
*DefaultOutputBin: FaceUp
*DefaultOutputOrder: Reverse
*OutputBin FaceUp: ""
*en_US.OutputBin FaceUp/Face Up: ""
*PageStackOrder FaceUp: Reverse
*CloseUI: *OutputBin
*cupsSingleFile: true

55
etc/cups/printers.conf Normal file
View file

@ -0,0 +1,55 @@
# Printer configuration file for CUPS v2.4.6
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
NextPrinterId 4
<Printer Brother_DCP-1610W>
PrinterId 2
UUID urn:uuid:38bb3c4e-debc-3be6-549f-73681a4091b6
Info Brother DCP-1610W
Location
MakeModel Brother DCP-1600 series, using brlaser v6
DeviceURI lpd://Printer/BINARY_P1
State Idle
StateTime 1661516089
ConfigTime 1697735960
Type 4164
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Attribute marker-colors \#000000,none
Attribute marker-levels -1,94
Attribute marker-names Black Toner Cartridge,Drum Unit
Attribute marker-types toner,opc
Attribute marker-change-time 1661516089
</Printer>
<Printer Brother_DCP-J1050DW>
PrinterId 3
UUID urn:uuid:fabcb579-b6a7-316b-4389-1e8df80b5433
AuthInfoRequired none
Info Brother DCP-J1050DW
Location
MakeModel DCP-J1050DW - IPP Everywhere
DeviceURI ipp://pr1/
State Idle
StateTime 1697736316
ConfigTime 1697736171
Type 36892
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Attribute marker-levels 69,73,62,80
Attribute marker-low-levels 24,24,24,25
Attribute marker-high-levels 100,100,100,100
Attribute marker-types ink-cartridge,ink-cartridge,ink-cartridge,ink-cartridge
Attribute marker-change-time 1697736316
</Printer>

18
etc/filesystems Normal file
View file

@ -0,0 +1,18 @@
ext4
ext3
ext2
iso9660
exfat
vfat
ntfs
msdos
reiserfs
btrfs
jfs
xfs
f2fs
squashfs
romfs
udf
minix
*

View file

@ -1,3 +1,4 @@
UUID=55f6f46d-b408-4416-994d-faadde6c54aa / ext4 defaults 0 1 UUID=94592a25-8ddd-4172-8a4a-ba37039264b9 / f2fs defaults 0 0
UUID=e87a8703-cc91-446b-84a4-17b38194b3d2 none swap defaults 0 0 UUID=3b36e83b-4742-402c-8374-a1938c2eac47 none swap sw 0 0
tmpfs /tmp tmpfs defaults,nosuid,nodev 0 0 UUID=1991-AFAB /boot/efi vfat defaults 0 2
#tmpfs /tmp tmpfs defaults,nosuid,nodev 0 0

View file

@ -6,29 +6,43 @@ wheel:x:4:tadgy
tty:x:5: tty:x:5:
tape:x:6: tape:x:6:
daemon:x:7: daemon:x:7:
floppy:x:8: floppy:x:8:tadgy
disk:x:9: disk:x:9:libvirt
lp:x:10: lp:x:10:_saned
dialout:x:11: dialout:x:11:
audio:x:12: audio:x:12:pulse,tadgy
video:x:13: video:x:13:tadgy
utmp:x:14: utmp:x:14:
adm:x:15: adm:x:15:
cdrom:x:16: cdrom:x:16:tadgy
optical:x:17: optical:x:17:tadgy
mail:x:18: mail:x:18:
storage:x:19: storage:x:19:
scanner:x:20: scanner:x:20:_saned
network:x:21: network:x:21:tadgy
kvm:x:24: kvm:x:24:tadgy,libvirt
input:x:25: input:x:25:
plugdev:x:26:
usbmon:x:27:
sgx:x:28:
nogroup:x:99: nogroup:x:99:
users:x:100: users:x:100:
admin:x:101:tadgy xbuilder:x:101:tadgy
dbus:x:22:
_dhcpcd:x:999: _dhcpcd:x:999:
_uuidd:x:998: lxdm:x:998:
ntpd:x:997: polkitd:x:997:
rpc:x:996: pulse-access:x:996:
pulse:x:995:
rtkit:x:994:
_uuidd:x:993:
ntpd:x:992:
socklog:x:991:
lpadmin:x:990:
_mlocate:x:989:
dnsmasq:x:988:
libvirt:x:987:
ldap:x:986:
rpc:x:985:
vboxusers:x:984:tadgy
plugdev:x:26:
_saned:x:983:
usbmon:x:27:
sgx:x:28:

Binary file not shown.

View file

@ -1 +1 @@
chuckie.afterdark.lan phil.afterdark.lan

View file

@ -1,7 +1,7 @@
account default account default
host gw.afterdark.lan host gw.afterdark.lan
timeout 300 timeout 300
domain chuckie.afterdark.lan domain phil.afterdark.lan
tls off tls off
tls_starttls off tls_starttls off
tls_trust_file /etc/ssl/certs/ca-certificates.crt tls_trust_file /etc/ssl/certs/ca-certificates.crt

31
etc/ntp.conf Normal file
View file

@ -0,0 +1,31 @@
# NTP servers to sync to.
server gw.afterdark.lan
# Sync to local clock if no servers are available.
server 127.127.1.0
fudge 127.127.1.0 stratum 10
# By default, restrict access to the service.
restrict -4 default limited nomodify noquery nopeer notrap kod
restrict -6 default limited nomodify noquery nopeer notrap kod
# Allow localhost to query the service, but nothing else.
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.
# Edit the network address and mask below, and uncomment.
# restrict 192.168.1.0 mask 255.255.255.0 limited nomodify nopeer notrap kod
# Where to store the drift calculation.
driftfile /var/db/ntpd/drift
# Stats should be written here.
statsdir /var/db/ntpd/stats
# PID file location.
pidfile /run/ntpd.pid
# Disable the ntpdc -c monlist command, which is insecure and can be used
# to cause a denial of service attack (CVE-2013-5211).
disable monitor

17
etc/passwd Normal file
View file

@ -0,0 +1,17 @@
root:x:0:0:root:/root:/bin/bash
nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
dbus:x:22:22:dbus unprivileged user:/var/empty:/sbin/nologin
_dhcpcd:x:999:999:_dhcpcd unprivileged user:/var/db/dhcpcd:/sbin/nologin
polkitd:x:998:997:polkitd unprivileged user:/var/empty:/sbin/nologin
pulse:x:997:995:pulse unprivileged user:/var/empty:/sbin/nologin
rtkit:x:996:994:rtkit unprivileged user:/proc:/sbin/nologin
_uuidd:x:995:993:_uuidd unprivileged user:/var/empty:/sbin/nologin
tadgy:x:1001:100:Darren 'Tadgy' Austin:/home/tadgy:/bin/bash
ntpd:x:994:992:ntpd unprivileged user:/var/db/ntpd:/sbin/nologin
cups:x:993:10:cups unprivileged user:/var/spool/cups:/sbin/nologin
_mlocate:x:992:989:_mlocate unprivileged user:/var/empty:/sbin/nologin
dnsmasq:x:991:988:dnsmasq unprivileged user:/var/chroot:/sbin/nologin
libvirt:x:990:987:libvirt unprivileged user:/var/empty:/sbin/nologin
ldap:x:989:986:ldap unprivileged user - for uninstalled package openldap:/var/empty:/bin/false
rpc:x:988:985:rpc unprivileged user:/var/empty:/sbin/nologin
_saned:x:987:983:_saned unprivileged user:/var/empty:/sbin/nologin

5
etc/printcap Normal file
View file

@ -0,0 +1,5 @@
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
Brother_DCP-1610W|Brother DCP-1610W:rm=phil.afterdark.lan:rp=Brother_DCP-1610W:
Brother_DCP-J1050DW|Brother DCP-J1050DW:rm=phil.afterdark.lan:rp=Brother_DCP-J1050DW:

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="lat9w-16" FONT="ter-v24n"
# Console map to load, see setfont(8). # Console map to load, see setfont(8).
#FONT_MAP= #FONT_MAP=
@ -32,7 +32,7 @@ KEYMAP=uk
#FONT_UNIMAP= #FONT_UNIMAP=
# Amount of ttys which should be setup. # Amount of ttys which should be setup.
#TTYS= TTYS=10
# Set the mode for cgroup mounts. # Set the mode for cgroup mounts.
# hybrid: mount cgroup v1 under /sys/fs/cgroup and # hybrid: mount cgroup v1 under /sys/fs/cgroup and

108
etc/rc.firewall Executable file
View file

@ -0,0 +1,108 @@
#!/bin/bash
# The name of the main external interface.
EX_IF="enp11s0"
start_firewall() {
# Flush old rules.
iptables -F
ip6tables -F
iptables -t nat -F
ip6tables -t nat -F
iptables -t mangle -F
ip6tables -t mangle -F
# Delete any custom chains.
iptables -X
ip6tables -X
iptables -t nat -X
ip6tables -t nat -X
iptables -t mangle -X
ip6tables -t mangle -X
# Allow all loopback traffic.
iptables -A INPUT -i lo -j ACCEPT
ip6tables -A INPUT -i lo -j ACCEPT
# Drop invalid packets on all interfaces.
iptables -A INPUT -m conntrack --ctstate INVALID -j DROP
ip6tables -A INPUT -m conntrack --ctstate INVALID -j DROP
# Allow packets of established connections and those related to them.
iptables -A INPUT -i "$EX_IF" -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
ip6tables -A INPUT -i "$EX_IF" -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
# Allow pings.
iptables -A INPUT -i "$EX_IF" -p icmp -m icmp --icmp-type echo-request -j ACCEPT
ip6tables -A INPUT -i "$EX_IF" -p icmpv6 --icmpv6-type echo-request -j ACCEPT
iptables -A INPUT -i "$EX_IF" -p icmp --icmp-type echo-reply -j ACCEPT
ip6tables -A INPUT -i "$EX_IF" -p icmpv6 --icmpv6-type echo-reply -j ACCEPT
# Allow certain types of ICMP informational packets.
iptables -A INPUT -i "$EX_IF" -p icmp --icmp-type destination-unreachable -j ACCEPT
ip6tables -A INPUT -i "$EX_IF" -p icmpv6 --icmpv6-type destination-unreachable -j ACCEPT
iptables -A INPUT -i "$EX_IF" -p icmp --icmp-type time-exceeded -j ACCEPT
ip6tables -A INPUT -i "$EX_IF" -p icmpv6 --icmpv6-type time-exceeded -j ACCEPT
iptables -A INPUT -i "$EX_IF" -p icmp --icmp-type parameter-problem -j ACCEPT
ip6tables -A INPUT -i "$EX_IF" -p icmpv6 --icmpv6-type parameter-problem -j ACCEPT
ip6tables -A INPUT -i "$EX_IF" -p icmpv6 --icmpv6-type packet-too-big -j ACCEPT
ip6tables -A INPUT -i "$EX_IF" -p icmpv6 --icmpv6-type neighbour-solicitation -j ACCEPT
ip6tables -A INPUT -i "$EX_IF" -p icmpv6 --icmpv6-type neighbour-advertisement -j ACCEPT
# Allow SSH.
iptables -A INPUT -i "$EX_IF" -p tcp --syn --dport 22 -m conntrack --ctstate NEW -j ACCEPT
ip6tables -A INPUT -i "$EX_IF" -p tcp --syn --dport 22 -m conntrack --ctstate NEW -j ACCEPT
# Set default policies.
iptables -P INPUT DROP
ip6tables -P INPUT DROP
iptables -P OUTPUT ACCEPT # We don't firewall outgoing connections.
ip6tables -P OUTPUT ACCEPT # We don't firewall outgoing connections.
iptables -P FORWARD DROP
ip6tables -P FORWARD DROP
}
stop_firewall() {
# Set default policies to ACCEPT.
iptables -P INPUT ACCEPT
ip6tables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
ip6tables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
ip6tables -P FORWARD ACCEPT
# Flush rules.
iptables -F
ip6tables -F
iptables -t nat -F
ip6tables -t nat -F
iptables -t mangle -F
ip6tables -t mangle -F
# Delete any custom chains.
iptables -X
ip6tables -X
iptables -t nat -X
ip6tables -t nat -X
iptables -t mangle -X
ip6tables -t mangle -X
}
case "$1" in
'start')
start_firewall
;;
'stop')
stop_firewall
;;
'restart')
stop_firewall
start_firewall
;;
*)
echo "Usage: $BASH_SOURCE <start|stop|restart>" >&2
ERR=1
;;
esac

10
etc/rc.local Executable file
View file

@ -0,0 +1,10 @@
# Default rc.local for void; add your custom commands here.
#
# This is run by runit in stage 2 before the services are executed
# (see /etc/runit/2).
[ -x /etc/rc.firewall ] && /etc/rc.firewall start
echo 5000 >/sys/class/backlight/intel_backlight/brightness
/sbin/setcolors /etc/setcolors.conf

10
etc/runit/.gitignore vendored Normal file
View file

@ -0,0 +1,10 @@
/1
/2
/3
/core-services/
/crypt.awk
/ctrlaltdel
/functions
/reboot
/shutdown.d/
/stopit

3
etc/runit/runsvdir/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
/current
/previous
/single/

19
etc/runit/runsvdir/default/.gitignore vendored Normal file
View file

@ -0,0 +1,19 @@
/acpid
/agetty-*
!/agetty-tty7
!/agetty-tty8
!/agetty-tty9
!/agetty-tty10
/alsa
/cupsd
/dbus
/dhcpcd
/gpm-custom
/lxdm
/nanoklogd
/polkitd
/rtkit
/socklog-unix
/sshd
/udevd
/uuidd

View file

@ -0,0 +1 @@
/etc/sv/agetty-tty10

View file

@ -0,0 +1 @@
/etc/sv/agetty-tty7

View file

@ -0,0 +1 @@
/etc/sv/agetty-tty8

View file

@ -0,0 +1 @@
/etc/sv/agetty-tty9

View file

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

View file

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

View file

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

View file

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

25
etc/securetty Normal file
View file

@ -0,0 +1,25 @@
# Console tty's:
console
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
# Pseudo TTYs (not recommended):
# pts/0
# pts/1
# pts/2
# pts/3
# pts/4
# pts/5
# pts/6
# pts/7
# pts/8
# pts/9
# pts/10

16
etc/setcolors.conf Normal file
View file

@ -0,0 +1,16 @@
0#000000
1#800000
2#008000
3#aa5500
4#0000aa
5#5833ff
6#00aaaa
7#aaaaaa
8#555555
9#ff0000
10#00ff00
11#ffff00
12#0000ff
13#5833ff
14#00ffff
15#ffffff

Binary file not shown.

1
etc/smartd/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/smartd_warning.sh

148
etc/smartd/smartd.conf Normal file
View file

@ -0,0 +1,148 @@
# Sample configuration file for smartd. See man smartd.conf.
# Home page is: http://www.smartmontools.org
# $Id: smartd.conf 4120 2015-08-27 16:12:21Z samm2 $
# smartd will re-read the configuration file if it receives a HUP
# signal
# The file gives a list of devices to monitor using smartd, with one
# device per line. Text after a hash (#) is ignored, and you may use
# spaces and tabs for white space. You may use '\' to continue lines.
# You can usually identify which hard disks are on your system by
# looking in /proc/ide and in /proc/scsi.
# The word DEVICESCAN will cause any remaining lines in this
# configuration file to be ignored: it tells smartd to scan for all
# ATA and SCSI devices. DEVICESCAN may be followed by any of the
# Directives listed below, which will be applied to all devices that
# are found. Most users should comment out DEVICESCAN and explicitly
# list the devices that they wish to monitor.
#DEVICESCAN
# Alternative setting to ignore temperature and power-on hours reports
# in syslog.
#DEVICESCAN -I 194 -I 231 -I 9
# Alternative setting to report more useful raw temperature in syslog.
#DEVICESCAN -R 194 -R 231 -I 9
# Alternative setting to report raw temperature changes >= 5 Celsius
# and min/max temperatures.
#DEVICESCAN -I 194 -I 231 -I 9 -W 5
# First ATA/SATA or SCSI/SAS disk. Monitor all attributes, enable
# automatic online data collection, automatic Attribute autosave, and
# start a short self-test every day between 2-3am, and a long self test
# Saturdays between 3-4am.
#/dev/sda -a -o on -S on -s (S/../.././02|L/../../6/03)
# Monitor SMART status, ATA Error Log, Self-test log, and track
# changes in all attributes except for attribute 194
#/dev/sdb -H -l error -l selftest -t -I 194
# Monitor all attributes except normalized Temperature (usually 194),
# but track Temperature changes >= 4 Celsius, report Temperatures
# >= 45 Celsius and changes in Raw value of Reallocated_Sector_Ct (5).
# Send mail on SMART failures or when Temperature is >= 55 Celsius.
#/dev/sdc -a -I 194 -W 4,45,55 -R 5 -m admin@example.com
# An ATA disk may appear as a SCSI device to the OS. If a SCSI to
# ATA Translation (SAT) layer is between the OS and the device then
# this can be flagged with the '-d sat' option. This situation may
# become common with SATA disks in SAS and FC environments.
# /dev/sda -a -d sat
# A very silent check. Only report SMART health status if it fails
# But send an email in this case
#/dev/sdc -H -C 0 -U 0 -m admin@example.com
# First two SCSI disks. This will monitor everything that smartd can
# monitor. Start extended self-tests Wednesdays between 6-7pm and
# Sundays between 1-2 am
#/dev/sda -d scsi -s L/../../3/18
#/dev/sdb -d scsi -s L/../../7/01
# Monitor 4 ATA disks connected to a 3ware 6/7/8000 controller which uses
# the 3w-xxxx driver. Start long self-tests Sundays between 1-2, 2-3, 3-4,
# and 4-5 am.
# NOTE: starting with the Linux 2.6 kernel series, the /dev/sdX interface
# is DEPRECATED. Use the /dev/tweN character device interface instead.
# For example /dev/twe0, /dev/twe1, and so on.
#/dev/sdc -d 3ware,0 -a -s L/../../7/01
#/dev/sdc -d 3ware,1 -a -s L/../../7/02
#/dev/sdc -d 3ware,2 -a -s L/../../7/03
#/dev/sdc -d 3ware,3 -a -s L/../../7/04
# Monitor 2 ATA disks connected to a 3ware 9000 controller which
# uses the 3w-9xxx driver (Linux, FreeBSD). Start long self-tests Tuesdays
# between 1-2 and 3-4 am.
#/dev/twa0 -d 3ware,0 -a -s L/../../2/01
#/dev/twa0 -d 3ware,1 -a -s L/../../2/03
# Monitor 2 SATA (not SAS) disks connected to a 3ware 9000 controller which
# uses the 3w-sas driver (Linux). Start long self-tests Tuesdays
# between 1-2 and 3-4 am.
# On FreeBSD /dev/tws0 should be used instead
#/dev/twl0 -d 3ware,0 -a -s L/../../2/01
#/dev/twl0 -d 3ware,1 -a -s L/../../2/03
# Same as above for Windows. Option '-d 3ware,N' is not necessary,
# disk (port) number is specified in device name.
# NOTE: On Windows, DEVICESCAN works also for 3ware controllers.
#/dev/hdc,0 -a -s L/../../2/01
#/dev/hdc,1 -a -s L/../../2/03
# Monitor 3 ATA disks directly connected to a HighPoint RocketRAID. Start long
# self-tests Sundays between 1-2, 2-3, and 3-4 am.
#/dev/sdd -d hpt,1/1 -a -s L/../../7/01
#/dev/sdd -d hpt,1/2 -a -s L/../../7/02
#/dev/sdd -d hpt,1/3 -a -s L/../../7/03
# Monitor 2 ATA disks connected to the same PMPort which connected to the
# HighPoint RocketRAID. Start long self-tests Tuesdays between 1-2 and 3-4 am
#/dev/sdd -d hpt,1/4/1 -a -s L/../../2/01
#/dev/sdd -d hpt,1/4/2 -a -s L/../../2/03
# HERE IS A LIST OF DIRECTIVES FOR THIS CONFIGURATION FILE.
# PLEASE SEE THE smartd.conf MAN PAGE FOR DETAILS
#
# -d TYPE Set the device type: ata, scsi, marvell, removable, 3ware,N, hpt,L/M/N
# -T TYPE set the tolerance to one of: normal, permissive
# -o VAL Enable/disable automatic offline tests (on/off)
# -S VAL Enable/disable attribute autosave (on/off)
# -n MODE No check. MODE is one of: never, sleep, standby, idle
# -H Monitor SMART Health Status, report if failed
# -l TYPE Monitor SMART log. Type is one of: error, selftest
# -f Monitor for failure of any 'Usage' Attributes
# -m ADD Send warning email to ADD for -H, -l error, -l selftest, and -f
# -M TYPE Modify email warning behavior (see man page)
# -s REGE Start self-test when type/date matches regular expression (see man page)
# -p Report changes in 'Prefailure' Normalized Attributes
# -u Report changes in 'Usage' Normalized Attributes
# -t Equivalent to -p and -u Directives
# -r ID Also report Raw values of Attribute ID with -p, -u or -t
# -R ID Track changes in Attribute ID Raw value with -p, -u or -t
# -i ID Ignore Attribute ID for -f Directive
# -I ID Ignore Attribute ID for -p, -u or -t Directive
# -C ID Report if Current Pending Sector count non-zero
# -U ID Report if Offline Uncorrectable count non-zero
# -W D,I,C Monitor Temperature D)ifference, I)nformal limit, C)ritical limit
# -v N,ST Modifies labeling of Attribute N (see man page)
# -a Default: equivalent to -H -f -t -l error -l selftest -C 197 -U 198
# -F TYPE Use firmware bug workaround. Type is one of: none, samsung
# -P TYPE Drive-specific presets: use, ignore, show, showall
# # Comment: text after a hash sign is ignored
# \ Line continuation character
# Attribute ID is a decimal integer 1 <= ID <= 255
# except for -C and -U, where ID = 0 turns them off.
# All but -d, -m and -M Directives are only implemented for ATA devices
#
# If the test string DEVICESCAN is the first uncommented text
# then smartd will scan for devices.
# DEVICESCAN may be followed by any desired Directives.
#DEVICESCAN -a -s (S/../.././02|L/../../7/07) -I 190 -W 5,30,35 -m sysadmin@opensourcerers.uk -M daily -M test
DEVICESCAN -a -s (S/../.././02|L/../../7/07) -W 5,30,35 -m darren@afterdark.org.uk -M daily

9
etc/ssh/.gitignore vendored
View file

@ -1,5 +1,4 @@
*_key /*_key
moduli /moduli
sshd_config /sshd_config.d/
sshd_config.d/ /*_key
ssh_config

5
etc/ssh/ssh_config Normal file
View file

@ -0,0 +1,5 @@
Host *
ControlPath ~/.ssh/%u@%l->%r@%h:%p
SendEnv LANG LC_*
VerifyHostKeyDNS yes
VisualHostKey yes

Binary file not shown.

View file

@ -1 +1 @@
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBG+VCvLAdhS4yFB+KisMidAUZP6QSMOHWbEAK2194VAVdowZi/dJDNfH59QbEtI7wJ+y35pX5fXExWXbinUnKP0= root@void-live ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEk5L0y7Skd8vZLONzhzSzxYyu8/v/NajhBgGBhxDCxw3W7XRUW7l6fSAyjfkGIOccE6wH1EAwP5j3Xq2O9lkMc= root@void-live

Binary file not shown.

View file

@ -1 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIETA3xleyhRRvvu/+RzMsacrAo9YQiPW0LYXojch+V9D root@void-live ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHjz3PZKTcAzU6RtIS+7Qo90hBGzLDV8k1c9lAXK+A3+ root@void-live

Binary file not shown.

View file

@ -1 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCu/CWfLeiY97WzgmeDxWTsIuGEPY6aAzk6O67kyEozRwikgB54asxzI2gYxmnoJ7gHO0VjWg1PnE+I0cRyplxKummxwU9opRZ6xT3ehLXRJKWfFKIAQsVt5OncC/S1m496Me2B18WnXYcWhZkxo38DQpOOFtXkEGNuu/Q9juBBk1bkw56Ntn9ArKVQ2jBmGrodC329TK16mss1rN+RlEGrEpVU+EI8W1m/qYSs6menmWGvx92BPPn0ujCGOQZSYus4r07ebl2Xuy8ZCbdOdyqWfUW2CpQ5pokSIW5OtXiX6Gqgfb8KorG+wDaJs2tpSalvp9AR06rIfjlEFte4gszr5vuvnciKE0imVTvGbySUs6/0VB/lyCXzgWB12T9qIVdBop72pLfHFTkVG29yfQ5KlmPAw+WKAr9GQnsLQq3NwJQ9JyU/9+1Ak05A+X2+Cq0vMR45a8+/uo2aysLATeEW9Ew1cooQaJM350IVKy8QwOA1Af3cy+Y2fcDPuqwYHZU= root@void-live ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC3/coKfLqBW9BxLxBtT9m+ZohuUxF9qB1EBn95eP4zepStDVmwpB72JY/6lyv5PcK7Ja/6pbGlIomreIf8avOKHhDvk0cIL2wh0glJKyO1vJx88UnOvF0OMZUz0u2yojgMhUOPAi7MHG9O/rv3YNdVjzbYbY4Ul+fYhDOULEHV/gzyYgxccatD3Jq3Ec8uqUFFCaRy4qElFlzM063C3EX7O1e0n21sZpdtt/S86zv2crUlRR29XtWFjggondFTCuRt4IDdHaZ5CPe7mjCE1s5cCdiTkTacOTVM05BVYO312xqFOXLeiOZn+jnNXbQdE8hOxItpaZ/MWNW09biet6wBIRS9ZI4MzfP+fpE+WDmUgSxKaF77sIv1tYdEqxbQgu860d/GgH02PkO95xz5iIKr0ufwfFaHEF7o7ItBW+oE2hm+mcFV9+isSHPXTpcDM3u0jWniqe/qFjbfqGEuaY8fmc4a+bxN7ChG0Pt9B0OhdyaBVle8nUIyFzweuMPSwPM= root@void-live

14
etc/ssh/sshd_config Normal file
View file

@ -0,0 +1,14 @@
Port 22
AcceptEnv LANG LC_*
LoginGraceTime 30
MaxStartups 5
PermitRootLogin prohibit-password
StreamLocalBindUnlink yes
Subsystem sftp /usr/libexec/sftp-server
UsePAM yes
X11Forwarding no
Match Address 10.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.168.0.0/16
PermitRootLogin yes
X11Forwarding yes

2
etc/subgid Normal file
View file

@ -0,0 +1,2 @@
root:1000000:65536
tadgy:165536:65536

2
etc/subuid Normal file
View file

@ -0,0 +1,2 @@
root:1000000:65536
tadgy:165536:65536

64
etc/sv/.gitignore vendored Normal file
View file

@ -0,0 +1,64 @@
/NetworkManager/
/acpid/
/agetty-*/
/!agetty-tty7/
/!agetty-tty8/
/!agetty-tty9/
/!agetty-tty10/
/alsa/
/autofs/
/crond
/cupsd/
/cups-browsed/
/dbus/
/dcron/
/dhcpcd/
/dhcpcd-eth0/
/dmeventd/
/dnsmasq/
/fancontrol/
/gpm/
/gpm-custom/supervise/
/!gpm-custom/supervise/.empty
/ip6tables/
/iptables/
/isc-ntpd/
/libvirtd*/
/lvmetad/
/lxdm/
/mdadm/
/nanoklogd/
/nfs-server/
/ntpd
/polkitd/
/rpcbind/
/rpcblkmapd/
/rpcgssd/
/rpcidmapd/
/rpcsvcgssd/
/rsyncd/
/rsyncd/
/rtkit/
/saned/
/smartd/
/socklog-unix/
/sshd/
/statd/
/sulogin/
/udevd/
/uuidd/
/vboxwebsrv/
/virtinterfaced/
/virtlockd/
/virtlogd/
/virtlxcd/
/virtnetworkd/
/virtnodedevd/
/virtnwfilterd/
/virtproxyd/
/virtqemud/
/virtsecretd/
/virtstoraged/
/virtvboxd/
/virtxend/
/wpa_supplicant/

1
etc/sv/agetty-tty10/conf Symbolic link
View file

@ -0,0 +1 @@
../agetty-tty1/conf

1
etc/sv/agetty-tty10/finish Symbolic link
View file

@ -0,0 +1 @@
../agetty-generic/finish

1
etc/sv/agetty-tty10/run Symbolic link
View file

@ -0,0 +1 @@
../agetty-generic/run

View file

@ -0,0 +1 @@
/run/runit/supervise.agetty-tty10

1
etc/sv/agetty-tty7/conf Symbolic link
View file

@ -0,0 +1 @@
../agetty-tty1/conf

1
etc/sv/agetty-tty7/finish Symbolic link
View file

@ -0,0 +1 @@
../agetty-generic/finish

1
etc/sv/agetty-tty7/run Symbolic link
View file

@ -0,0 +1 @@
../agetty-generic/run

View file

@ -0,0 +1 @@
/run/runit/supervise.agetty-tty7

1
etc/sv/agetty-tty8/conf Symbolic link
View file

@ -0,0 +1 @@
../agetty-tty1/conf

1
etc/sv/agetty-tty8/finish Symbolic link
View file

@ -0,0 +1 @@
../agetty-generic/finish

1
etc/sv/agetty-tty8/run Symbolic link
View file

@ -0,0 +1 @@
../agetty-generic/run

View file

@ -0,0 +1 @@
/run/runit/supervise.agetty-tty8

1
etc/sv/agetty-tty9/conf Symbolic link
View file

@ -0,0 +1 @@
../agetty-tty1/conf

1
etc/sv/agetty-tty9/finish Symbolic link
View file

@ -0,0 +1 @@
../agetty-generic/finish

1
etc/sv/agetty-tty9/run Symbolic link
View file

@ -0,0 +1 @@
../agetty-generic/run

View file

@ -0,0 +1 @@
/run/runit/supervise.agetty-tty9

4
etc/sv/gpm-custom/run Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
exec 1>&2
#exec gpm -D -m /dev/input/mice -t imps2 -d 6 -a 4 -3
exec gpm -D -m /dev/input/mice -t imps2 -3

2
etc/sv/libvirt-generic/log/run Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec vlogger -t libvirt-generic -p daemon

View file

@ -0,0 +1 @@
/run/runit/supervise.libvirt-generic-log

11
etc/sv/libvirt-generic/run Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
exec 2>&1
sv check dbus >/dev/null || exit 1
# Take daemon name from service name
daemon="${PWD##*/}"
[ -f ./conf ] && . ./conf
exec "$daemon" $OPTS 2>&1

View file

@ -0,0 +1 @@
/run/runit/supervise.libvirt-generic

24
var/.gitignore vendored
View file

@ -1,12 +1,12 @@
cache/ /cache/
chroot/ /chroot/
db/ /db/
empty/ /empty/
lib/ /lib/
lock /lock
log/ /log/
mail/ /mail/
opt/ /opt/
run /run
service /service
tmp/ /tmp/

View file

@ -1,2 +1,3 @@
cronstamps/ /cronstamps/
mail /cups/
/mail