This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo apt-get update | |
| sudo apt-get remove -y libva ffmpeg | |
| sudo apt-get install -y \ | |
| autoconf libtool libdrm-dev xorg xorg-dev openbox \ | |
| libx11-dev libgl1-mesa-glx libgl1-mesa-dev \ | |
| xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev \ | |
| libxkbcommon-x11-dev libxcb-dri3-dev \ | |
| vim cmake git nasm build-essential |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -- cycle through all the blacklists | |
| for BL in ${BLISTS} ; do | |
| # print the UTC date (without linefeed) | |
| printf $(env TZ=UTC date "+%Y-%m-%d_%H:%M:%S") | |
| # show the reversed IP and append the name of the blacklist | |
| if [ "$BL" = 'dnsbl.httpbl.org' ]; | |
| then | |
| printf "%-50s" " ${HTTPbl_API_KEY}.${reverse}.${BL}." | |
| else | |
| printf "%-50s" " ${reverse}.${BL}." |