15 lines
214 B
Bash
15 lines
214 B
Bash
#!/bin/bash
|
|
|
|
###### CONFIG
|
|
ACCEPTED_HOSTS="/root/.hag_accepted.conf"
|
|
BE_VERBOSE=false
|
|
|
|
if [ "$UID" -ne 0 ]
|
|
then
|
|
echo "Superuser rights required"
|
|
exit 2
|
|
fi
|
|
|
|
genApacheConf(){
|
|
echo -e "# Host ${HOME_DIR}$1/$2 :"
|
|
}
|