Tidying
This commit is contained in:
parent
fef2d39584
commit
2be0611b4e
|
@ -1,4 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# .---. . .
|
||||||
|
# | | |
|
||||||
|
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
|
||||||
|
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
|
||||||
|
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
|
||||||
|
#
|
||||||
|
# Freedom in the Cloud
|
||||||
|
#
|
||||||
# A script for creating self-signed certificates on Debian
|
# A script for creating self-signed certificates on Debian
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
@ -41,7 +50,7 @@ function show_help {
|
||||||
echo ' -o --organisation [name] Optional organisation name'
|
echo ' -o --organisation [name] Optional organisation name'
|
||||||
echo ' -u --unit [name] Optional unit name'
|
echo ' -u --unit [name] Optional unit name'
|
||||||
echo ''
|
echo ''
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
while [[ $# > 1 ]]
|
while [[ $# > 1 ]]
|
||||||
|
@ -85,7 +94,7 @@ done
|
||||||
|
|
||||||
if [ ! $HOSTNAME ]; then
|
if [ ! $HOSTNAME ]; then
|
||||||
echo 'No hostname specified'
|
echo 'No hostname specified'
|
||||||
exit 5748
|
exit 5748
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! which openssl > /dev/null ;then
|
if ! which openssl > /dev/null ;then
|
||||||
|
|
|
@ -1,4 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# .---. . .
|
||||||
|
# | | |
|
||||||
|
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
|
||||||
|
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
|
||||||
|
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
|
||||||
|
#
|
||||||
|
# Freedom in the Cloud
|
||||||
|
#
|
||||||
|
|
||||||
# Adds an email address rule to the email configuration
|
# Adds an email address rule to the email configuration
|
||||||
|
|
||||||
|
@ -28,7 +37,7 @@ function show_help {
|
||||||
echo ''
|
echo ''
|
||||||
echo 'freedombone-addemail -u [username] -e [email address] -l [mailing list name]'
|
echo 'freedombone-addemail -u [username] -e [email address] -l [mailing list name]'
|
||||||
echo ''
|
echo ''
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
while [[ $# > 1 ]]
|
while [[ $# > 1 ]]
|
||||||
|
|
|
@ -1,4 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# .---. . .
|
||||||
|
# | | |
|
||||||
|
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
|
||||||
|
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
|
||||||
|
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
|
||||||
|
#
|
||||||
|
# Freedom in the Cloud
|
||||||
|
#
|
||||||
|
|
||||||
# Adds a mailing list to the email configuration
|
# Adds a mailing list to the email configuration
|
||||||
|
|
||||||
|
@ -28,7 +37,7 @@ function show_help {
|
||||||
echo ''
|
echo ''
|
||||||
echo 'freedombone-addlist -u [username] -l [mailing list name] -s [subject tag]'
|
echo 'freedombone-addlist -u [username] -l [mailing list name] -s [subject tag]'
|
||||||
echo ''
|
echo ''
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
while [[ $# > 1 ]]
|
while [[ $# > 1 ]]
|
||||||
|
|
|
@ -1,4 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# .---. . .
|
||||||
|
# | | |
|
||||||
|
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
|
||||||
|
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
|
||||||
|
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
|
||||||
|
#
|
||||||
|
# Freedom in the Cloud
|
||||||
|
#
|
||||||
|
|
||||||
# Adds an email ignore rule for either an email address
|
# Adds an email ignore rule for either an email address
|
||||||
# or text in the subject line
|
# or text in the subject line
|
||||||
|
@ -29,7 +38,7 @@ function show_help {
|
||||||
echo ''
|
echo ''
|
||||||
echo 'freedombone-ignore -u [username] -e [mail address] -t [text in subject line]'
|
echo 'freedombone-ignore -u [username] -e [mail address] -t [text in subject line]'
|
||||||
echo ''
|
echo ''
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
while [[ $# > 1 ]]
|
while [[ $# > 1 ]]
|
||||||
|
@ -62,7 +71,7 @@ done
|
||||||
if ! [[ $MYUSERNAME && $EMAIL_ADDRESS ]]; then
|
if ! [[ $MYUSERNAME && $EMAIL_ADDRESS ]]; then
|
||||||
if ! [[ $MYUSERNAME && $SUBJECT_TEXT ]]; then
|
if ! [[ $MYUSERNAME && $SUBJECT_TEXT ]]; then
|
||||||
show_help
|
show_help
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MUTTRC=/home/$MYUSERNAME/.muttrc
|
MUTTRC=/home/$MYUSERNAME/.muttrc
|
||||||
|
|
|
@ -1,4 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# .---. . .
|
||||||
|
# | | |
|
||||||
|
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
|
||||||
|
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
|
||||||
|
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
|
||||||
|
#
|
||||||
|
# Freedom in the Cloud
|
||||||
|
#
|
||||||
# This script installs the Debian image to the microSD card, and should
|
# This script installs the Debian image to the microSD card, and should
|
||||||
# be run on your laptop/desktop with the microSD card plugged in.
|
# be run on your laptop/desktop with the microSD card plugged in.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# .---. . .
|
||||||
|
# | | |
|
||||||
|
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
|
||||||
|
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
|
||||||
|
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
|
||||||
|
#
|
||||||
|
# Freedom in the Cloud
|
||||||
|
#
|
||||||
# A script for renewing SSL/TLS certificates
|
# A script for renewing SSL/TLS certificates
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
|
@ -1,4 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# .---. . .
|
||||||
|
# | | |
|
||||||
|
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
|
||||||
|
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
|
||||||
|
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
|
||||||
|
#
|
||||||
|
# Freedom in the Cloud
|
||||||
|
#
|
||||||
|
|
||||||
# Removes an email address rule from the email configuration
|
# Removes an email address rule from the email configuration
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# .---. . .
|
||||||
|
# | | |
|
||||||
|
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
|
||||||
|
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
|
||||||
|
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
|
||||||
|
#
|
||||||
|
# Freedom in the Cloud
|
||||||
|
#
|
||||||
|
|
||||||
# Removes a mailing list to the email configuration
|
# Removes a mailing list to the email configuration
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# .---. . .
|
||||||
|
# | | |
|
||||||
|
# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
|
||||||
|
# | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
|
||||||
|
# ' ' --' --' -' - -' ' ' -' -' -' ' - --'
|
||||||
|
#
|
||||||
|
# Freedom in the Cloud
|
||||||
|
#
|
||||||
|
|
||||||
# Removes an ignore rule for either an email address
|
# Removes an ignore rule for either an email address
|
||||||
# or text in the subject line
|
# or text in the subject line
|
||||||
|
|
Loading…
Reference in New Issue