This is a "plugin" for the Video Disk Recorder (VDR).

Written by:                  Christian Alexander Moser <cm_vdr@wahnadium.org>

Project's homepage:          http://www.wahnadium.org/viola

Latest version available at: http://www.wahnadium.org/viola

See the file COPYING for license information.

--------------------------------------------------------------------------------

Description:

The netconfig plugin lets you configure your network environment (hostname,
domain, etc), partially edit your samba configuration, can view your current
device information and ables you to start/stop your interfaces.

Installation:

Just extract this archive to the standard plugin directory in your vdr source
tree and call 'make plugins' in your vdr root directory.
You also have to copy the sample (or a new generated) configuration file to the
directory where the configuration files of the plugin's reside.

Commandline options:

  --dhcp-script | -d          - set the path to the dhcp start/stop script

Configuration file format:

A sample configuration file is included in the examples directory. Just copy
it to the correct destination and modify it to your needs.
Also make sure that any file, referenced by the config, is read and writeable
by the vdr user. Otherwise the configuration can not be saved.

ATTENTION: THIS PLUGIN WILL OVERWRITE ANY FILE REFERENCED BY THE PLUGIN'S
           CONFIG. THIS CAN RESULT IN MAJOR NETWORK PROBLEMS (E.G. BECAUSE OF
           BAD SYNTAX) OR LOST OF OLD CONFIGURATION DATA.
           BE CAREFULL!

  * resolv=$FILE         e.g. /etc/resolv.conf
    This is the standard resolv.conf file used by any linux distribution.

  * device=$FILE.$1      e.g. /etc/hostname.$1
    This file holds the configuration for device $1 ($1 _must_ be present and
    is the placeholder for the device).

    The config file syntax (e.g. for device eth0) is like the following:
    File: /etc/hostname.eth0
    Contents: "inet 192.168.5.23 netmask 255.255.255.0"

  * samba=$FILE          e.g. /etc/samba/smb.conf
    The normal samba configuration file.

  * hostname=$FILE       e.g. /etc/myhostname
    The file which holds the hostname (fqdn) of the computer.

  * gateway=$FILE        e.g. /etc/mygateway
    This file holds the ip address of the default gateway.

Configuration options (in setup menu):

  Mainmenu entry   - switch menu entry on/off

Usage:

Thanks To:

The idea for the addritem is borrowed from the
  * streamdev plugin written by Sascha Volkenandt (http://www.magoa.net/linux)
