#!/bin/bash

# This file is run every startup and tries to get a new copy of
# rss_starup_script.  The startup script is then run.  This script is 
# automatically downloaded by the installer and put into /etc/rc2.d
#
# Script originally authored by Carrick Detweiler
# spring 2009
# updated for spring2010 by Seungkook Yun
# spring 2010

ifconfig eth0 up
dhclient eth0
cd /usr/local/bin
wget -N http://courses.csail.mit.edu/6.141/spring2010/pub/scripts/rss_startup_script
chmod a+x /usr/local/bin/rss_startup_script
/usr/local/bin/rss_startup_script
