This file contains 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/sh | |
# | |
# pyweb: Starts simple HTTP server | |
# | |
# chkconfig: 345 97 03 | |
# description: Starts simple HTTP server | |
# | |
# processname: pyweb | |
# pidfile: /var/run/pyweb.pid | |
# |
This file contains 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 | |
# DOWNLOAD LIST FROM HERE | |
BLACKLIST_URL="http://www.squidblacklist.org/downloads/drop.malicious.rsc" | |
# THE LIST WITH IP ADDRESSES | |
BLACKLIST_FILE="drop.malicious.rsc" | |
# DO I HAVE TO DOWNLOAD IT | |
DOWNLOAD="yes" |
This file contains 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 | |
# install the smartctl package first! (apt-get install smartctl) | |
UID=$(id -u) | |
if [ $UID -eq 0 ] | |
then | |
true | |
else |