From 2be0611b4e1b98b3cc16175c6348da91c880b90e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 4 Apr 2015 13:07:00 +0100 Subject: [PATCH] Tidying --- src/freedombone-addcert | 13 +++++++++++-- src/freedombone-addemail | 11 ++++++++++- src/freedombone-addlist | 11 ++++++++++- src/freedombone-ignore | 13 +++++++++++-- src/freedombone-prep | 9 +++++++++ src/freedombone-renew-cert | 9 +++++++++ src/freedombone-rmemail | 9 +++++++++ src/freedombone-rmlist | 9 +++++++++ src/freedombone-unignore | 9 +++++++++ 9 files changed, 87 insertions(+), 6 deletions(-) diff --git a/src/freedombone-addcert b/src/freedombone-addcert index 442383ae..6b514806 100755 --- a/src/freedombone-addcert +++ b/src/freedombone-addcert @@ -1,4 +1,13 @@ #!/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 diff --git a/src/freedombone-addemail b/src/freedombone-addemail index 6d87ad4c..606e2728 100755 --- a/src/freedombone-addemail +++ b/src/freedombone-addemail @@ -1,4 +1,13 @@ #!/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 ]] diff --git a/src/freedombone-addlist b/src/freedombone-addlist index be1faf75..d95704dc 100755 --- a/src/freedombone-addlist +++ b/src/freedombone-addlist @@ -1,4 +1,13 @@ #!/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 ]] diff --git a/src/freedombone-ignore b/src/freedombone-ignore index bc808308..a478d627 100755 --- a/src/freedombone-ignore +++ b/src/freedombone-ignore @@ -1,4 +1,13 @@ #!/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 diff --git a/src/freedombone-prep b/src/freedombone-prep index fd895e30..4328c791 100755 --- a/src/freedombone-prep +++ b/src/freedombone-prep @@ -1,4 +1,13 @@ #!/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. diff --git a/src/freedombone-renew-cert b/src/freedombone-renew-cert index 214e9aac..2de28688 100755 --- a/src/freedombone-renew-cert +++ b/src/freedombone-renew-cert @@ -1,4 +1,13 @@ #!/bin/bash +# +# .---. . . +# | | | +# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-. +# | | (.-' (.-' ( | ( )| | | | )( )| | (.-' +# ' ' --' --' -' - -' ' ' -' -' -' ' - --' +# +# Freedom in the Cloud +# # A script for renewing SSL/TLS certificates # License diff --git a/src/freedombone-rmemail b/src/freedombone-rmemail index a3c50396..81c1ff0b 100755 --- a/src/freedombone-rmemail +++ b/src/freedombone-rmemail @@ -1,4 +1,13 @@ #!/bin/bash +# +# .---. . . +# | | | +# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-. +# | | (.-' (.-' ( | ( )| | | | )( )| | (.-' +# ' ' --' --' -' - -' ' ' -' -' -' ' - --' +# +# Freedom in the Cloud +# # Removes an email address rule from the email configuration diff --git a/src/freedombone-rmlist b/src/freedombone-rmlist index 343b8ba2..d60a85d3 100755 --- a/src/freedombone-rmlist +++ b/src/freedombone-rmlist @@ -1,4 +1,13 @@ #!/bin/bash +# +# .---. . . +# | | | +# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-. +# | | (.-' (.-' ( | ( )| | | | )( )| | (.-' +# ' ' --' --' -' - -' ' ' -' -' -' ' - --' +# +# Freedom in the Cloud +# # Removes a mailing list to the email configuration diff --git a/src/freedombone-unignore b/src/freedombone-unignore index c2dffbb6..44e97afe 100755 --- a/src/freedombone-unignore +++ b/src/freedombone-unignore @@ -1,4 +1,13 @@ #!/bin/bash +# +# .---. . . +# | | | +# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-. +# | | (.-' (.-' ( | ( )| | | | )( )| | (.-' +# ' ' --' --' -' - -' ' ' -' -' -' ' - --' +# +# Freedom in the Cloud +# # Removes an ignore rule for either an email address # or text in the subject line