Skip to content

Commit

Permalink
Remove shebang from how-tos
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Jul 23, 2023
1 parent b4ba367 commit 84dd66c
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 32 deletions.
3 changes: 0 additions & 3 deletions debian-setup/clone-server-debconf.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
#!/bin/bash --version
#
# Clone a server by reinstalling packages and copying settings.
#

exit 0


# Save on the "donor"

apt-get install -y debconf-utils
Expand Down
1 change: 0 additions & 1 deletion debian-setup/clone-server-snapshot.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash --version
#
# Clone a Debian-based server by a snapshot.
#
Expand Down
6 changes: 2 additions & 4 deletions debian-setup/debian-install-preseed.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
#!/bin/bash --version
#
# Automated Debian install with preseed file

exit 0

# Automated Debian install with preseed file
#
# - two instances on the same private network with DHCP
# - One is a webserver with the preseed file
# - Two is automatically installed: auto url=http://192.168.1.2/path/to/preseed.file
# - see https://www.debian.org/releases/stable/amd64/apb.html


# Debian Installer steps (Expert Install)
#
# 1. Default language and location = English/United States
Expand Down
1 change: 0 additions & 1 deletion debian-setup/debian-setup-baremetal.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash --version
#
# This is a *plan* for installing Debian on bare metal.

Expand Down
6 changes: 2 additions & 4 deletions mail/courier-mta-inbound.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash --version
#
# Courier MTA - inbound configuration with mailboxs.
#

exit 0

# Locally generated mail (sendmail, SMTP, notifications)
# MTA <-- sendmail (local monitoring scripts)
Expand Down Expand Up @@ -65,5 +65,3 @@
# - weekly: grep "courieresmtpd: .*: 5[0-9][0-9] " "/var/log/mail.log.1" | grep -wv "554"
# - monthly: top10-mailfolders.sh
# - yearly: archive inbox and sent folders

exit 0
6 changes: 2 additions & 4 deletions mail/courier-mta-setup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash --version
#
# Courier MTA - full operation.
#

exit 0

# Locally generated mail (sendmail, SMTP, notifications)
# MTA <-- sendmail
Expand Down Expand Up @@ -30,8 +30,6 @@
# Reading mail in local mailboxes (IMAP)
# MUA <-- MDA

exit 0

# Fix perms
chmod 0640 /etc/courier/esmtpauthclient

Expand Down
6 changes: 2 additions & 4 deletions mail/courier-mta-smarthost.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash --version
#
# Courier MTA - operate as a smarthost, deliver outbound messages.
#

exit 0

# Locally generated mail (sendmail, notifications)
# MTA <-- sendmail (local monitoring scripts)
Expand All @@ -18,8 +18,6 @@
# MTA --> another MTA
# @TODO Prefer pulling mail from local mailbox over forwarding

exit 0

# Add an MX record
host -t MX $(hostname -f)
# Receive mail on a mailserver with accounts (alias, acceptmailfor)
Expand Down
3 changes: 2 additions & 1 deletion package/trafficserver.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash --version
#
# Set up Traffic Server

exit 0

Expand Down
2 changes: 0 additions & 2 deletions security/chroot-smallest.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash --version
#
# Smallest chroot environment.
#

exit 0

Expand Down
1 change: 0 additions & 1 deletion tools/flock-self.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash --version
#
# Flock on itself.
#
Expand Down
3 changes: 2 additions & 1 deletion webserver/add-site-nginx.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash --version
#
# Add a site to Nginx. A plan.

exit 0

Expand Down
3 changes: 0 additions & 3 deletions webserver/add-site.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/bash --version
#
# Add new Apache site.
#
# Not a script but a manual.

exit 0

Expand Down
3 changes: 0 additions & 3 deletions webserver/remove-site.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/bash --version
#
# Apache remove a site.
#
# Not a script but a manual.

exit 0

Expand Down

0 comments on commit 84dd66c

Please sign in to comment.