#!/bin/sh
#
# /etc/rc.d/rc.sysinit - run once at boot time
#

mount -a

echo "Configuring loopback network..."
/sbin/ifconfig lo 127.0.0.1

/sbin/netconfig

echo "==========================================================================="
echo "==                                                                       =="
echo "==  Welcome to the NFS-Mount Demo Project!                               =="
echo "==                                                                       =="
echo "==  You can now mount a filesystem from a remote NFS server.             =="
echo "==  Note that the filesystem must be exported within the                 =="
echo "==  server's /etc/exports file, which should look like this:             =="
echo "==                                                                       =="
echo "==    /<target-rootfs> <client-ip>(rw,no_root_squash)                    =="
echo "==                                                                       =="
echo "==  To mount the file system, type:                                      =="
echo "==                                                                       =="
echo "==    mount <server-ip>:/<target-rootfs> /mnt -o nolock,noac,mountvers=2 =="
echo "==                                                                       =="
echo "==========================================================================="
