Skip to content
Snippets Groups Projects
Commit 2be0611b authored by Bob Mottram's avatar Bob Mottram
Browse files

Tidying

parent fef2d395
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#
# .---. . .
# | | |
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
#
# Freedom in the Cloud
#
# A script for creating self-signed certificates on Debian
# License
......@@ -41,7 +50,7 @@ function show_help {
echo ' -o --organisation [name] Optional organisation name'
echo ' -u --unit [name] Optional unit name'
echo ''
exit 0
exit 0
}
while [[ $# > 1 ]]
......@@ -85,7 +94,7 @@ done
if [ ! $HOSTNAME ]; then
echo 'No hostname specified'
exit 5748
exit 5748
fi
if ! which openssl > /dev/null ;then
......
#!/bin/bash
#
# .---. . .
# | | |
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
#
# Freedom in the Cloud
#
# Adds an email address rule to the email configuration
......@@ -28,7 +37,7 @@ function show_help {
echo ''
echo 'freedombone-addemail -u [username] -e [email address] -l [mailing list name]'
echo ''
exit 0
exit 0
}
while [[ $# > 1 ]]
......
#!/bin/bash
#
# .---. . .
# | | |
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
#
# Freedom in the Cloud
#
# Adds a mailing list to the email configuration
......@@ -28,7 +37,7 @@ function show_help {
echo ''
echo 'freedombone-addlist -u [username] -l [mailing list name] -s [subject tag]'
echo ''
exit 0
exit 0
}
while [[ $# > 1 ]]
......
#!/bin/bash
#
# .---. . .
# | | |
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
#
# Freedom in the Cloud
#
# Adds an email ignore rule for either an email address
# or text in the subject line
......@@ -29,7 +38,7 @@ function show_help {
echo ''
echo 'freedombone-ignore -u [username] -e [mail address] -t [text in subject line]'
echo ''
exit 0
exit 0
}
while [[ $# > 1 ]]
......@@ -62,7 +71,7 @@ done
if ! [[ $MYUSERNAME && $EMAIL_ADDRESS ]]; then
if ! [[ $MYUSERNAME && $SUBJECT_TEXT ]]; then
show_help
fi
fi
fi
MUTTRC=/home/$MYUSERNAME/.muttrc
......
#!/bin/bash
#
# .---. . .
# | | |
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
#
# Freedom in the Cloud
#
# This script installs the Debian image to the microSD card, and should
# be run on your laptop/desktop with the microSD card plugged in.
......
#!/bin/bash
#
# .---. . .
# | | |
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
#
# Freedom in the Cloud
#
# A script for renewing SSL/TLS certificates
# License
......
#!/bin/bash
#
# .---. . .
# | | |
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
#
# Freedom in the Cloud
#
# Removes an email address rule from the email configuration
......
#!/bin/bash
#
# .---. . .
# | | |
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
#
# Freedom in the Cloud
#
# Removes a mailing list to the email configuration
......
#!/bin/bash
#
# .---. . .
# | | |
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
#
# Freedom in the Cloud
#
# Removes an ignore rule for either an email address
# or text in the subject line
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment