Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

happy new year! #2431

Merged
merged 1 commit into from
Jan 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/0-byte-files.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
true
SCRIPT_NAME="Check for 0-Byte files"
# shellcheck source=lib.sh
Expand Down
2 changes: 1 addition & 1 deletion addons/automatic_updates.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Automatic Updates"
Expand Down
2 changes: 1 addition & 1 deletion addons/cookielifetime.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Set Cookie Lifetime"
Expand Down
2 changes: 1 addition & 1 deletion addons/database_shrinking.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down
2 changes: 1 addition & 1 deletion addons/deSEC/desec.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="deSEC Registration"
Expand Down
2 changes: 1 addition & 1 deletion addons/deSEC/desec_subdomain.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="deSEC Subdomain"
Expand Down
2 changes: 1 addition & 1 deletion addons/deSEC/remove_desec.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="deSEC Removal"
Expand Down
2 changes: 1 addition & 1 deletion addons/fix_invalid_modification_time.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Fix 'Could not update metadata due to invalid modified time'."
Expand Down
2 changes: 1 addition & 1 deletion addons/harden-ssh.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down
2 changes: 1 addition & 1 deletion addons/locales.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Locales"
Expand Down
2 changes: 1 addition & 1 deletion addons/locate_mirror.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Locate Mirror"
Expand Down
2 changes: 1 addition & 1 deletion addons/redis-server-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SCRIPT_NAME="Redis Server Ubuntu"
# shellcheck source=lib.sh
source /var/scripts/fetch_lib.sh

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

# Check for errors + debug code and abort if something isn't right
# 1 = ON
Expand Down
2 changes: 1 addition & 1 deletion addons/security.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Extra Security"
Expand Down
2 changes: 1 addition & 1 deletion addons/smtp-mail.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down
2 changes: 1 addition & 1 deletion apps/adminer.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Adminer"
Expand Down
2 changes: 1 addition & 1 deletion apps/bitwarden_mailconfig.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Bitwarden Mail Configuration"
Expand Down
2 changes: 1 addition & 1 deletion apps/bitwarden_registration.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Bitwarden Registration"
Expand Down
2 changes: 1 addition & 1 deletion apps/bpytop.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="BPYTOP"
Expand Down
4 changes: 2 additions & 2 deletions apps/clamav.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="ClamAV"
Expand Down Expand Up @@ -198,7 +198,7 @@ esac
cat << CLAMAV_REPORT > "$SCRIPTS"/clamav-fullscan.sh
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

source /var/scripts/fetch_lib.sh

Expand Down
2 changes: 1 addition & 1 deletion apps/collabora_docker.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Collabora (Docker)"
Expand Down
2 changes: 1 addition & 1 deletion apps/collabora_integrated.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Collabora (Integrated)"
Expand Down
2 changes: 1 addition & 1 deletion apps/extract.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down
2 changes: 1 addition & 1 deletion apps/face-recognition.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down
4 changes: 2 additions & 2 deletions apps/fail2ban.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Inspired by https://github.com/nextcloud/nextcloudpi/blob/master/etc/nextcloudpi-config.d/fail2ban.sh

true
Expand Down Expand Up @@ -221,7 +221,7 @@ fi
# Create Fail2ban report script
cat << FAIL2BAN_REPORT > "$SCRIPTS/daily_fail2ban_report.sh"
#!/bin/bash
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

# Look for ip addresses
BANNED_IPS=\$(grep "Ban " /var/log/fail2ban.log | grep "\$(date +%Y-%m-%d)" \
Expand Down
4 changes: 2 additions & 2 deletions apps/fulltextsearch.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# SwITNet Ltd © - 2022, https://switnet.net/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# SwITNet Ltd © - 2023, https://switnet.net/

true
SCRIPT_NAME="Full Text Search"
Expand Down
2 changes: 1 addition & 1 deletion apps/midnight-commander.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down
2 changes: 1 addition & 1 deletion apps/netdata.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Netdata"
Expand Down
2 changes: 1 addition & 1 deletion apps/notify_push.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down
2 changes: 1 addition & 1 deletion apps/onlyoffice_integrated.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="OnlyOffice (Integrated)"
Expand Down
2 changes: 1 addition & 1 deletion apps/pdfannotate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down
2 changes: 1 addition & 1 deletion apps/pico_cms.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down
2 changes: 1 addition & 1 deletion apps/previewgenerator.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Preview Generator"
Expand Down
2 changes: 1 addition & 1 deletion apps/smbmount.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down
2 changes: 1 addition & 1 deletion apps/talk.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Nextcloud Talk"
Expand Down
2 changes: 1 addition & 1 deletion apps/tmbitwarden.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Bitwarden"
Expand Down
2 changes: 1 addition & 1 deletion apps/vaultwarden.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Vaultwarden (formerly Bitwarden RS)"
Expand Down
2 changes: 1 addition & 1 deletion apps/vaultwarden_admin-panel.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Vaultwarden (formerly Bitwarden RS) Admin Panel"
Expand Down
2 changes: 1 addition & 1 deletion apps/webmin.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Webmin"
Expand Down
2 changes: 1 addition & 1 deletion apps/whiteboard.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down
2 changes: 1 addition & 1 deletion disk/change-to-zfs-mount-generator.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

# https://wiki.archlinux.org/index.php/ZFS#Using_zfs-mount-generator
# Tested on Ubuntu 20.04
Expand Down
2 changes: 1 addition & 1 deletion disk/create-daily-zfs-prune.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Create daily ZFS prune script"
Expand Down
2 changes: 1 addition & 1 deletion disk/format-chosen.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Format Chosen Disk"
Expand Down
2 changes: 1 addition & 1 deletion disk/format-sdb.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Format sdb"
Expand Down
2 changes: 1 addition & 1 deletion disk/prune_zfs_snaphots.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/

true
SCRIPT_NAME="Prune ZFS Snapshots"
Expand Down
6 changes: 3 additions & 3 deletions disk/smart-monitoring.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down Expand Up @@ -114,7 +114,7 @@ then
cat << SMART_NOTIFICATION > "$SCRIPTS/smart-notification.sh"
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down Expand Up @@ -161,7 +161,7 @@ $SCRIPTS/smart-notification.sh -s (S/../.././01|L/../../6/02)" > /etc/smartd.con
cat << SMART_NOTIFICATION > "$SCRIPTS/smart-notification.sh"
#!/bin/bash

# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)

true
Expand Down
Loading