Professional Documents
Culture Documents
Random Idea
Random Idea
/bin/bash
if [ -r Ubuntu.conf ]; then
#Get updates
if [ "$UPDATES" = true ]; then
echo "getting updates"
apt-get update -y
fi #UPDATES
#Install openssh-server
if [ "$INSTALL_SSH_SERVER" = true ]; then
apt-get install openssh-server -y
fi #INSTALL_SSH_SERVER
#enable UFW
if [ "$FIREWALL" = true ]; then
echo "enabling UFW"
ufw enable
fi #FIREWALL
#Pam config
if [ "$PAMCONF" = true ]; then
echo "changing PAM config"
#Run clamav
if [ "$CLAM_HOME" = true ]; then