diff --git a/hszt-sw.sh b/hsz-t/os-einsenden
similarity index 53%
rename from hszt-sw.sh
rename to hsz-t/os-einsenden
index 434c08c..558550d 100755
--- a/hszt-sw.sh
+++ b/hsz-t/os-einsenden
@@ -17,25 +17,43 @@
# You should have received a copy of the GNU General Public License
# along with nsbin. If not, see .
#
-# Prepare exam
+# Submit solution according to http://edu.panter.ch/FormelleBedingungenUebungenBetriebssysteme
#
-set -e
+if [ $# -ne 2 ]; then
+ cat << eof
+$0:
-d="static.edu.panter.ch"
-f="${d}.tar.bz2"
-p="PruefungsStoff2010.html"
-bd="swdev"
-b="firefox"
-v="evince"
+eof
+ exit 1
+fi
-mkdir ${bd}
-wget "http://static.edu.panter.ch/offline/$f"
-wget http://pubwww.hsz-t.ch/~bseelige/info2/pattern/DesignJava.PDF
-wget http://pubwww.hsz-t.ch/~bseelige/info2/uml/uml2.pdf
-tar xvfj ${f}
+subject_suff="$1"; shift
+input="$1"; shift
-"$b" "$d/$p" &
-"$v" DesignJava.PDF &
-"$v" uml2.pdf &
+self="nschotte"
+to="bseelige"
+domain="@hsz-t.ch"
+self_q="${self}${domain}"
+to_q="${to}${domain}"
+subject_pref="[Betriebssysteme]"
+
+
+sendmail="/usr/sbin/sendmail"
+to_all="${to_q} ${self_q}"
+to_all="${to_q}"
+
+
+(
+ (
+ cat << eof
+To: $to_all
+Subject: $subject_pref $subject_suff
+From: $self_q
+
+eof
+
+ )
+ tar c "${input}" | gzip -9 | uuencode "${subject_suff}.tar.gz"
+) | $sendmail -f "$self_q" $to_all
diff --git a/hsztwlan.sh b/hsztwlan.sh
deleted file mode 100755
index aeee907..0000000
--- a/hsztwlan.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-ip l s eth0 down
-ip l s wlan0 up
-iwconfig wlan0 essid hotspot-hsz-t
-udhcpc -nfqi wlan0
-