#! /bin/sh
# System Script: Primary Initizalization
#
# This initializes as many features as possible with only readonly root
# available.
#

# Set the path for startup. /usr is not available at the time this script
# is run.
PATH=/sbin:/bin

# RTC
hwclock --hctosys --utc

# Filesystems

e2fsck /dev/sda1
e2fsck /dev/sda3
e2fsck /dev/sda4

# Networking
hostname khar-pern

ifconfig eth0 192.168.0.1
route add -net 192.168.0.0

ifconfig lo 127.0.0.1
route add -net 127.0.0.0
