- Timestamp:
- 08/19/09 12:21:25 (15 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/pxeconfig.py
r170 r172 197 197 if not options.DRY_RUN: 198 198 cmd = '%s %s' %(options.SCRIPT_HOOK, addr) 199 os.system(cmd) 199 200 200 201 haddr = '%s%02X' %(net_2_hex(cnet, options), int(net[3])) -
trunk/src/pxeconfigd.py
r171 r172 116 116 print 'ip = %s, hex = %s' %(client_ip, client_haddr) 117 117 118 if settings['daemon_script_hook']: 118 try: 119 settings['daemon_script_hook'] 119 120 cmd = '%s %s' %(settings['daemon_script_hook'], client_ip) 120 121 print cmd 121 122 os.system(cmd) 123 except KeyError: 124 pass 122 125 123 126 remove_link(client_haddr)
Note: See TracChangeset
for help on using the changeset viewer.