Browse Source

Tidying

pull/55/head
Bob Mottram 7 years ago
parent
commit
2be0611b4e
  1. 13
      src/freedombone-addcert
  2. 11
      src/freedombone-addemail
  3. 11
      src/freedombone-addlist
  4. 13
      src/freedombone-ignore
  5. 9
      src/freedombone-prep
  6. 9
      src/freedombone-renew-cert
  7. 9
      src/freedombone-rmemail
  8. 9
      src/freedombone-rmlist
  9. 9
      src/freedombone-unignore

13
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

11
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 ]]

11
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 ]]

13
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

9
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.

9
src/freedombone-renew-cert

@ -1,4 +1,13 @@
#!/bin/bash
#
# .---. . .
# | | |
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
#
# Freedom in the Cloud
#
# A script for renewing SSL/TLS certificates
# License

9
src/freedombone-rmemail

@ -1,4 +1,13 @@
#!/bin/bash
#
# .---. . .
# | | |
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
#
# Freedom in the Cloud
#
# Removes an email address rule from the email configuration

9
src/freedombone-rmlist

@ -1,4 +1,13 @@
#!/bin/bash
#
# .---. . .
# | | |
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
#
# Freedom in the Cloud
#
# Removes a mailing list to the email configuration

9
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

Loading…
Cancel
Save