1
1
Fork 0
This commit is contained in:
Spirillen 2023-05-09 11:03:48 +02:00
parent 2007639912
commit c7b9023d94
No known key found for this signature in database
GPG Key ID: 88CC3F27732845AD
1 changed files with 4 additions and 5 deletions

View File

@ -1,16 +1,15 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# The perpose of this script is to import various eternal hosts files into lists # The purpose of this script is to import various eternal hosts files into lists
# that contail only domain.tld for easier working with the lists to our RPZ files # that contain only domain.tld for easier working with the lists to our RPZ files
# Exit on any erros # Exit on any errors
set -e set -e
# Check if we have root right to install the apps via apt # Check if we have root right to install the apps via apt
if [ `whoami` != "root" ] if [ "$(whoami)" != "root" ]; then
then
echo "You need to be root to do this!" echo "You need to be root to do this!"
exit 1 exit 1
fi fi