Script Test [OT]

Bill Davidsen davidsen at tmr.com
Tue Sep 9 16:50:55 UTC 2008


Alan Evans wrote:
> On Mon, Sep 8, 2008 at 6:40 AM, Steven Tardy <sjt5 at its.msstate.edu> wrote:
>> kwhiskerz wrote:
>>> Is there a way a script can determine which computer it is running on and
>>> refuse to run if it is on the wrong computer?
> 
>> man hostid
> 
> On my Fedora 9...
> 
> $ hostid
> 00000000
> 
> Now I haven't bothered to check any other machines, but my initial
> impression is that this is not going to work...
> 
Was there some reason you couldn't use the UUID script I posted?

-- 
Bill Davidsen <davidsen at tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot




More information about the fedora-list mailing list