#! /bin/sh
#
# rcS           Call all S??* scripts in /etc/rcS.d in
#               numerical/alphabetical order.
#
# Version:      @(#)/etc/init.d/rcS  2.76  19-Apr-1999  miquels@cistron.nl
#
trap "" SIGHUP

PATH=/sbin:/bin:/usr/sbin:/usr/bin
runlevel=S
prevlevel=N
umask 022
export PATH runlevel prevlevel

#
#       Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
#
trap ":" INT QUIT TSTP

mount -n /proc
mount -n -o remount,rw /
mount /var

echo "1" > /proc/sys/net/ipv4/ip_forward
echo "0 0" > /proc/sys/vm/pagetable_cache
(cd /; tar xf var.tar)

insmod /lib/modules/avalanche_usb.o
