Skip to content

Commit c4b764a

Browse files
authored
happy new year (#2278)
Signed-off-by: enoch85 <[email protected]>
1 parent 05dc5b1 commit c4b764a

File tree

105 files changed

+111
-111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+111
-111
lines changed

addons/0-byte-files.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44
true
55
SCRIPT_NAME="Check for 0-Byte files"
66
# shellcheck source=lib.sh

addons/automatic_updates.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Automatic Updates"

addons/cookielifetime.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Set Cookie Lifetime"

addons/database_shrinking.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true

addons/deSEC/desec.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="deSEC Registration"

addons/deSEC/desec_subdomain.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="deSEC Subdomain"

addons/deSEC/remove_desec.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="deSEC Removal"

addons/harden-ssh.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true

addons/locales.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Locales"

addons/locate_mirror.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Locate Mirror"

addons/redis-server-ubuntu.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SCRIPT_NAME="Redis Server Ubuntu"
44
# shellcheck source=lib.sh
55
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
66

7-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
7+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
88

99
# Check for errors + debug code and abort if something isn't right
1010
# 1 = ON

addons/security.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Extra Security"

addons/smtp-mail.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true

apps/adminer.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Adminer"

apps/bitwarden_mailconfig.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Bitwarden Mail Configuration"

apps/bitwarden_registration.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Bitwarden Registration"

apps/bpytop.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="BPYTOP"

apps/clamav.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="ClamAV"
@@ -197,7 +197,7 @@ esac
197197
cat << CLAMAV_REPORT > "$SCRIPTS"/clamav-fullscan.sh
198198
#!/bin/bash
199199
200-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
200+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
201201
202202
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
203203

apps/collabora_docker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Collabora (Docker)"

apps/collabora_integrated.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Collabora (Integrated)"

apps/extract.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true

apps/face-recognition.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true

apps/fail2ban.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true
@@ -210,7 +210,7 @@ fi
210210
# Create Fail2ban report script
211211
cat << FAIL2BAN_REPORT > "$SCRIPTS/daily_fail2ban_report.sh"
212212
#!/bin/bash
213-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
213+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
214214
215215
# Look for ip addresses
216216
BANNED_IPS=\$(grep "Ban " /var/log/fail2ban.log | grep "\$(date +%Y-%m-%d)" \

apps/midnight-commander.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true

apps/netdata.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Netdata"

apps/notify_push.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true

apps/onlyoffice_integrated.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="OnlyOffice (Integrated)"

apps/pdfannotate.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true

apps/pico_cms.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true

apps/previewgenerator.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Preview Generator"

apps/smbmount.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true

apps/talk.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Nextcloud Talk"

apps/tmbitwarden.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Bitwarden"

apps/vaultwarden.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Vaultwarden (formerly Bitwarden RS)"

apps/vaultwarden_admin-panel.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Vaultwarden (formerly Bitwarden RS) Admin Panel"

apps/webmin.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Webmin"

apps/whiteboard.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true

disk/change-to-zfs-mount-generator.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
# https://wiki.archlinux.org/index.php/ZFS#Using_zfs-mount-generator
66
# Tested on Ubuntu 20.04

disk/create-daily-zfs-prune.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Create daily ZFS prune script"

disk/format-chosen.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Format Chosen Disk"

disk/format-sdb.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Format sdb"

disk/prune_zfs_snaphots.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Prune ZFS Snapshots"

disk/smart-monitoring.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
true
@@ -114,7 +114,7 @@ then
114114
cat << SMART_NOTIFICATION > "$SCRIPTS/smart-notification.sh"
115115
#!/bin/bash
116116
117-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
117+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
118118
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)
119119
120120
true
@@ -161,7 +161,7 @@ $SCRIPTS/smart-notification.sh -s (S/../.././01|L/../../6/02)" > /etc/smartd.con
161161
cat << SMART_NOTIFICATION > "$SCRIPTS/smart-notification.sh"
162162
#!/bin/bash
163163
164-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
164+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
165165
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)
166166
167167
true

lets-encrypt/activate-tls.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SCRIPT_NAME="Activate TLS"
44
# shellcheck source=lib.sh
55
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
66

7-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
7+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
88

99
# Check for errors + debug code and abort if something isn't right
1010
# 1 = ON

lets-encrypt/test-new-config.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SCRIPT_NAME="Test New Configuration"
44
# shellcheck source=lib.sh
55
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
66

7-
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
7+
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
88

99
# Check for errors + debug code and abort if something isn't right
1010
# 1 = ON

0 commit comments

Comments
 (0)