Hi All, I am trying to enter a lot of hostnames/MacAddr/Ipaddress into dns/dhcp using a shell script like this.(not sure that I am doing the right thing here..)
#!/bin/bash for n in `cat entries.txt` do /etc/e-smith/events/hostcreate $n done Where, for example "entries.txt" contains somthing like Entry = mainsvr1 InternalIP = 10.10.10.1 MACAddress = 00:4E:FE:6D:3B:2A Entry = mainsvr2 InternalIP = 10.10.10.2 MACAddress = 00:4E:FE:6D:3B:2B Entry = mainsvr3 InternalIP = 10.10.10.3 MACAddress = 00:4E:FE:6D:3B:2C Entry = mainsvr4 InternalIP = 10.10.10.4 MACAddress = 00:4E:FE:6D:3B:2D Does anyone know where I can find the documentation for all the commands and (some examples for them) in /etc/e-smith/web/functions/ (or /etc/e-smith/events)? TIA, -R -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
