From 844c1b81704537948575bbbf1dfb62b555bafbb0 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 29 Dec 2009 18:25:27 +0100 Subject: [PATCH] more cleanups Signed-off-by: Nico Schottelius --- bash-fork | 1 - english | 3 -- dosenhalter => fun/dosenhalter | 0 fun/forkbomb | 1 + gentoo-bug.sh01 | 57 ------------------------ get-sysinfo.sh | 4 +- mirror.bastian | 1 - ms-google | 20 --------- ms-google3 | 34 -------------- bg-image.dellist => old/bg-image.dellist | 0 bw => old/bw | 0 dig2hosttable => old/dig2hosttable | 0 gentoo-bug.sh => old/gentoo-bug.sh | 0 kopiere_ssh_key => old/kopiere_ssh_key | 0 latex2pdf => old/latex2pdf | 0 mails_counter => old/mails_counter | 0 myfrisk => old/myfrisk | 0 rootxterm => old/rootxterm | 0 slowtar => old/slowtar | 0 strip-squid-logs => old/strip-squid-logs | 0 stressall.sh | 5 --- 21 files changed, 4 insertions(+), 122 deletions(-) delete mode 100755 bash-fork delete mode 100755 english rename dosenhalter => fun/dosenhalter (100%) create mode 100755 fun/forkbomb delete mode 100755 gentoo-bug.sh01 delete mode 100755 mirror.bastian delete mode 100755 ms-google delete mode 100755 ms-google3 rename bg-image.dellist => old/bg-image.dellist (100%) rename bw => old/bw (100%) rename dig2hosttable => old/dig2hosttable (100%) rename gentoo-bug.sh => old/gentoo-bug.sh (100%) rename kopiere_ssh_key => old/kopiere_ssh_key (100%) rename latex2pdf => old/latex2pdf (100%) rename mails_counter => old/mails_counter (100%) rename myfrisk => old/myfrisk (100%) rename rootxterm => old/rootxterm (100%) rename slowtar => old/slowtar (100%) rename strip-squid-logs => old/strip-squid-logs (100%) delete mode 100644 stressall.sh diff --git a/bash-fork b/bash-fork deleted file mode 100755 index 4a5e537..0000000 --- a/bash-fork +++ /dev/null @@ -1 +0,0 @@ -bash$ :(){ :|:&};: -- diff --git a/english b/english deleted file mode 100755 index d708d57..0000000 --- a/english +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -xmodmap ~/.xmodmap-eiche.english diff --git a/dosenhalter b/fun/dosenhalter similarity index 100% rename from dosenhalter rename to fun/dosenhalter diff --git a/fun/forkbomb b/fun/forkbomb new file mode 100755 index 0000000..369970b --- /dev/null +++ b/fun/forkbomb @@ -0,0 +1 @@ +:(){:|:&};: -- diff --git a/gentoo-bug.sh01 b/gentoo-bug.sh01 deleted file mode 100755 index 00bce9a..0000000 --- a/gentoo-bug.sh01 +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# generate gentoo bug-report -# Nico Schottelius "$TMP" --------------------- -package: $package --------------------- -reporter: $REPORTER --------------------- -error: $error --------------------- -problem-description: $problem --------------------- -uname-a: `uname -a` --------------------- -make.conf: `grep -v '^#' /etc/make.conf | grep -v '^$'` --------------------- -emerge-info: `emerge --info` --------------------- -other-info: -EOF - -echo "If you have additional information, please add them to the report." -echo "Now, please mail the resulting file to a gentoo-maintainer/developer:" -echo "$TMP" diff --git a/get-sysinfo.sh b/get-sysinfo.sh index 8a9ab69..7cfcf34 100755 --- a/get-sysinfo.sh +++ b/get-sysinfo.sh @@ -4,7 +4,9 @@ host="$(hostname)" dest="${0%%*/}.${host}.log" ( - # system / software + # log, what produced the output + cat "$0" + uname -a dmesg diff --git a/mirror.bastian b/mirror.bastian deleted file mode 100755 index 2a303eb..0000000 --- a/mirror.bastian +++ /dev/null @@ -1 +0,0 @@ -rsync -e ssh -av nimrodxx.dyndns.info:/home/freespace/Multimedia/Donkey/xxx xxx-bastian diff --git a/ms-google b/ms-google deleted file mode 100755 index e972859..0000000 --- a/ms-google +++ /dev/null @@ -1,20 +0,0 @@ - -# seconds to wait -#WAIT="42" -WAIT="23" - -#AGENT="Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)" -AGENT="Mozilla/4.0 (compatible; MSIE 5.5; Windows 2004)" - -REFERER='http://http:llwww.google.de/search?q=linux' - -#URL='http://www.google.de/url?sa=l&q=http://tracking-microsoftch.qualitraffic.de/105.html%3Freferer%3Dgoogle_select&ai=Bh8poE-IRQs7aH7_sQae16egI1J_tCLz9oJ4B6YeHBtCGAxABGAEoBDgAQMQVSKw5yAEB&num=1' -URL='http://www.google.de/url?q=http://tracking-microsoftch.qualitraffic.de/105.html%3Freferer%3Dgoogle_select&sa=L&ai=Bh8poE-IRQs7aH7_sQae16egI1J_tCLz9oJ4B6YeHBtCGAxABGAEoBDgAQMQVSKw5yAEB&client=' - -http://www.google.ch/url?sa=l&q=http://tracking-microsoftch.qualitraffic.de/62.html%3Freferer%3Dgoogle_select&ai=BSUtaz0oUQumLOsmgQcLu7ckI1J_tCLz9oJ4B6YeHBvCiBBACGAIoBzgAQMQVSKw5yAEB&num=2 - -while true; do - curl -A "$AGENT" -e "$REFERER" "$URL" - sleep $WAIT -done - diff --git a/ms-google3 b/ms-google3 deleted file mode 100755 index 3a89c92..0000000 --- a/ms-google3 +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - - -GOOGLE_URL='http://www.google.ch/search?hl=de&q=linux' -REFERER="$GOOGLE_URL" - -# the begin of the string which ends in a whitespace -MS_AD='href=/url?sa=l&q=http://tracking-microsoftch.qualitraffic.de' -MS_AD_SED="`echo $MS_AD | sed 's/\//\\\//g'`" - -# only matching lines -SED_1="'/$MS_AD_SED/!d'" - -echo $SED_1 - -exit 1 - -# seconds to wait between queries -#WAIT="42" -WAIT="23" - -# user agent -#AGENT="Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)" -AGENT="Mozilla/4.0 (compatible; MSIE 5.5; Windows 2004)" - - -#URL='http://www.google.de/url?sa=l&q=http://tracking-microsoftch.qualitraffic.de/105.html%3Freferer%3Dgoogle_select&ai=Bh8poE-IRQs7aH7_sQae16egI1J_tCLz9oJ4B6YeHBtCGAxABGAEoBDgAQMQVSKw5yAEB&num=1' -URL='http://www.google.de/url?q=http://tracking-microsoftch.qualitraffic.de/105.html%3Freferer%3Dgoogle_select&sa=L&ai=Bh8poE-IRQs7aH7_sQae16egI1J_tCLz9oJ4B6YeHBtCGAxABGAEoBDgAQMQVSKw5yAEB&client=' - -while true; do - curl -A "$AGENT" -e "$REFERER" "$URL" - sleep $WAIT -done - diff --git a/bg-image.dellist b/old/bg-image.dellist similarity index 100% rename from bg-image.dellist rename to old/bg-image.dellist diff --git a/bw b/old/bw similarity index 100% rename from bw rename to old/bw diff --git a/dig2hosttable b/old/dig2hosttable similarity index 100% rename from dig2hosttable rename to old/dig2hosttable diff --git a/gentoo-bug.sh b/old/gentoo-bug.sh similarity index 100% rename from gentoo-bug.sh rename to old/gentoo-bug.sh diff --git a/kopiere_ssh_key b/old/kopiere_ssh_key similarity index 100% rename from kopiere_ssh_key rename to old/kopiere_ssh_key diff --git a/latex2pdf b/old/latex2pdf similarity index 100% rename from latex2pdf rename to old/latex2pdf diff --git a/mails_counter b/old/mails_counter similarity index 100% rename from mails_counter rename to old/mails_counter diff --git a/myfrisk b/old/myfrisk similarity index 100% rename from myfrisk rename to old/myfrisk diff --git a/rootxterm b/old/rootxterm similarity index 100% rename from rootxterm rename to old/rootxterm diff --git a/slowtar b/old/slowtar similarity index 100% rename from slowtar rename to old/slowtar diff --git a/strip-squid-logs b/old/strip-squid-logs similarity index 100% rename from strip-squid-logs rename to old/strip-squid-logs diff --git a/stressall.sh b/stressall.sh deleted file mode 100644 index d514370..0000000 --- a/stressall.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin - -count="$1" - -