Changeset 172


Ignore:
Timestamp:
08/19/09 12:21:25 (15 years ago)
Author:
bas
Message:

debian/changelog, Changelog:

  • announce new version

src/pxeconfig.py:

  • did not execute client hook script

src/pxeconfigd.py:

examples/pxeconfigd.xinetd:

  • removed server args options
Location:
trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changelog

    r162 r172  
     13.1.0:
     2  * Added client/daemon hook script code. Two new options
     3    for the pxeconfig.conf file
     4   - daemon_script_hook
     5   - client_script_hook
     6
     7    We use these scripts to open (client_script_hook) and close
     8    (daemon_script_hook) ports on the firewall. So not everybody can do
     9    an rsync or use a bittorrent client to get useful info.
     10
     11    Authors: Bas van der Vlies and Walter de Jong (SARA)
     12
     13  * new module pxe_global.py, used by pxeconfig and pxeconfigd
     14
     15  * Rewrite of the daemon code. removed the option -d/--directory is replaced
     16    by configuration file option.
     17
     18
    1193.0.4:
    220  * Fixed an error with importing pxeconfig if it is not in the standard
  • trunk/Makefile.in

    r171 r172  
    6666distclean:
    6767        rm src/pxeconfig src/pxe_global.py src/pxeconfigd src/hexls examples/pxeconfigd.xinetd config.log config.status Makefile
     68        python setup.py clean -a
  • trunk/debian/changelog

    r163 r172  
     1pxeconfig (3.1.0-1) stable; urgency=low
     2
     3  * Added client/daemon hook script code. Two new options
     4    for the pxeconfig.conf file
     5   - daemon_script_hook
     6   - client_script_hook
     7
     8    We use these scripts to open (client_script_hook) and close
     9    (daemon_script_hook) ports on the firewall. So not everybody can do
     10    an rsync or use a bittorrent client to get useful info.
     11
     12    Authors: Bas van der Vlies and Walter de Jong (SARA)
     13
     14  * new module pxe_global.py, used by pxeconfig and pxeconfigd
     15
     16  * Rewrite of the daemon code. removed the option -d/--directory is replaced
     17    by configuration file option.
     18
     19 -- Bas van der Vlies <basv@sara.nl>  Wed, 19 Aug 2009 11:12:32 +0200
     20
    121pxeconfig (3.0.4-1) stable; urgency=low
    222
  • trunk/src/pxeconfig.py

    r170 r172  
    197197                        if not options.DRY_RUN:
    198198                                cmd = '%s %s' %(options.SCRIPT_HOOK, addr)
     199                                os.system(cmd)
    199200
    200201                haddr = '%s%02X' %(net_2_hex(cnet, options), int(net[3]))
  • trunk/src/pxeconfigd.py

    r171 r172  
    116116                print 'ip = %s, hex = %s' %(client_ip, client_haddr)
    117117
    118         if settings['daemon_script_hook']:
     118        try:
     119                settings['daemon_script_hook']
    119120                cmd = '%s %s' %(settings['daemon_script_hook'], client_ip)
    120121                print cmd
    121122                os.system(cmd)
     123        except KeyError:
     124                pass
    122125
    123126        remove_link(client_haddr)
Note: See TracChangeset for help on using the changeset viewer.