#!/bin/bash
# $Header: /var/local/cvs/debian/ifupdown-scripts-zg2/scripts/ifupdown-scripts-zg2.d/flags,v 1.1 2004/09/12 18:00:04 mh Exp $

# IFACE      = Logical interface name
# MODE       = { start | stop }
# METHOD     = manual, otherwise exit
# IF_FLAGS   = flags to be set for the interface

# this script takes care of flags that are not processed in other scripts

. /etc/network/ifupdown-scripts-zg2.d/common-functions

# remove state if interface is being stopped

case "$MODE" in
  start)
    add_down "flags" "$IF_FLAGS"
    ;;
  stop)
    exec_down "flags" ""
    ;;
esac

# end of file

