Re: Script Test [OT]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan Evans wrote:
On Mon, Sep 8, 2008 at 6:40 AM, Steven Tardy <sjt5@xxxxxxxxxxxxxxx> 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@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux