crans_bcfg2/Python/etc/arpwatch.conf
2014-10-15 00:19:17 +02:00

25 lines
586 B
Python

# -*- coding: utf-8; mode: python -*-
header()
info["owner"] = "root"
info["group"] = "root"
info["perms"] = 0644
# /etc/arpwatch.conf: Debian-specific way to watch multiple interfaces.
# Fichier gere par Bcfg2 (module Cfg)
#
# Format of this configuration file is:
#
#<dev1> <arpwatch options for dev1>
#<dev2> <arpwatch options for dev2>
#...
#<devN> <arpwatch options for devN>
#
# You can set global options for all interfaces by editing
# /etc/default/arpwatch
include("arpwatch")
for vlan in watched_vlans:
iface = 'eth0.%d' % vlan
print("%s -m root@crans.org" % iface)