All pastes #1926847 Raw Edit

CPALead Hosts Block (Unix)

public shellscript v1 · immutable
#1926847 ·published 2010-08-27 14:28 UTC
rendered paste body
#!/usr/bin/sudo !/bin/shif [ "$(grep -o *cpalead* /etc/hosts)" = "*cpalead*" ];then	echo "*cpalead* is already applied!"else echo "127.0.0.1 *cpalead*" >> /etc/hosts & echo "Added *cpalead*"fiexit 0