help dos script

Thomas Lange lange at informatik.uni-koeln.de
Tue Dec 28 19:28:42 CET 2010


>>>>> On Tue, 28 Dec 2010 18:14:17 +0000, mamadou diop <diopmodou8 at gmail.com> said:

    > set MAC=mac adress got with a method i don't know

    > if %mac%==00:08:74:B4:05:1D set computername=PC01
    > if %mac%==00:14:22:D6:FA:FC set computername=PC02

You can do this using a DHCP server.
-- 
regards Thomas


More information about the linux-fai mailing list