~ubuntu-branches/ubuntu/natty/arno-iptables-firewall/natty

« back to all changes in this revision

Viewing changes to share/arno-iptables-firewall/plugins/10mac-address-filter.plugin

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2010-01-10 16:46:32 UTC
  • mfrom: (1.1.8 upstream) (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100110164632-d8e9r8svapi2qkec
Tags: 1.9.2.h-1
* New upstream release (Closes: #550222, #553036).
* Unify dependency-based boot-order and old-style update-rc.d, to be similar
  to shorewall's behavior.
* Add lintian override. The init script does handle 'stop', but it is
  shadowed by an if-clause. The 'else' branch handles 'stop' as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
# Requirements          : ipt_mac module
10
10
# Comments              : This plugin allows you to select the MAC addresses
11
11
#                         that are allowed access for the specified interfaces
12
 
#                         (ie. INT_IF)
 
12
#                         (eg. INT_IF)
13
13
#
14
14
# Author                : (C) Copyright 2009 by Arno van Amersfoort
15
15
# Homepage              : http://rocky.eld.leidenuniv.nl/
142
142
}
143
143
 
144
144
 
145
 
# Check sanity of ie. environment
 
145
# Check sanity of eg. environment
146
146
plugin_sanity_check()
147
147
{
148
148
  if [ -z "$MAC_ADDRESS_FILE" ] || [ ! -e "$MAC_ADDRESS_FILE" ]; then