#!/bin/sh

# This script runs when init it run during the boot process.
# Mounts everything in the fstab

mount -a
mount -o remount +w /

export PATH=$PATH:/etc/ath

insmod /lib/modules/2.6.15/net/ag7100_mod.ko

##
## Put the names of the interfaces in the environmental variables
## (They can be board unique)
##

export ETH0=eth0
export ETH1=eth1

ifconfig $ETH0 up
ifconfig $ETH1 up

/etc/rc.d/rc.network
/etc/rc.d/rc.bridge
#/etc/rc.d/rc.wlan up

/usr/sbin/telnetd
/usr/sbin/httpd -h /usr/www/
