fi
-# hackstation specific data
+# hackstation / mobile / hdw / sparc specific data
if [ "$host" = "hackstation" -o "$host" = "mobile" -o "$host" = "hdw" -o "$host" = "sparc" ] ; then
# home of hackbard
done
cp -r /home/hackbard/.ssh ./home/hackbard
+ # hunz config
+ if [ -f /home/hackbard/hunz.sh ] && cp /home/hackbard/hunz.sh ./home/hackbard
+
fi
--- /dev/null
+#!/bin/sh
+
+# check for dsl connection.
+
+if [ -z "`/sbin/ifconfig | grep ppp0`" ]; then
+ echo "`date`: trying to connect to the world again ..." >> \
+ /var/log/messages 2>&1
+ #
+ # start isdn if it works ...
+ # /etc/init.d/isdn start
+ #
+
+ # by now: retry every 10 minuites if broken
+ /etc/init.d/rp-pppoe start
+ RETVAL=$?
+ echo "debug: RETVAL = $RETVAL" >> /var/log/messages 2>&1
+ [ "$RETVAL" = "0" ] && /etc/ppp/ip-up
+fi
+