#!/bin/sh
#
#	This script will configure network interfaces, VLAN's, and routes
#


start() {
	logger -s -p "user.info" -t "$0" "Configuring network"

# ETH1 BEGIN
ip address add dev eth1 local 192.168.1.111/24
ip link set eth1 up

# additional addresses


# VLAN

# ETH1 END

}



stop() {
    logger -s -p "user.info" -t "$0" "Taking network down"
}



case "$1" in
  start)
    start
    ;;
  stop)
    stop
    ;;
  restart|reload)
    $0 stop
    $0 start
    ;;
  *)
    echo $"Usage: $0 {start|stop|restart}"
    exit 1
esac

exit $?
