#!/bin/sh
#!OEM - this needs to be the 1st or 2nd line to flag this as an OEM configuration.
#ver:gcc-3.4.4-glibc-2.3.5
###############################################################################
#
# Configuration file for setting up the unit.
# Copyright (c) 2006
# License- GPL
# Author-  Andre G Ancelin
# Company- Adtec Digital, Inc.
# Date-    2005-05-17
#
# This file normally just mounts all of the directories required to give the 
# product it's "personality".
#
#  local readonly RFS_PATH="/opt/pkg/gnu/gcc-3.4.4-glibc-2.3.5"
#    "${RFS_PATH}/bin        /bin          none  bind,rw  umount"
#    "${RFS_PATH}/lib        /lib          none  bind,rw  umount"
#    "${RFS_PATH}/sbin       /sbin         none  bind,rw  umount"
#    "${RFS_PATH}/usr        /usr          none  bind,rw  umount"
#    "usr/local/lib/modules  /lib/modules  none  bind,rw  umount"
##############################################################################

do_configuration_usrmounts ()
{
  for MOUNT in \
    "boot                   /boot         none  bind,rw  umount" \
    "media                  /media        none  bind,rw  umount" \
    "srv                    /srv          none  bind,rw  umount" \
    "usr/local              /usr/local    none  bind,rw  umount" \
    "usr/local/lib/modules  /lib/modules  none  bind,rw  umount" 
  do
    do_mount "${MOUNT}"
  done
}
do_configuration_usrmounts
