Could parse hostname --fqdn
Fahad Sadah
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Darren R. Hardy:
> I use this in my shell scripties:this won't work on the web server as there is no --domain option.
> if [ "`hostname --domain 2>/dev/null`" = "toolserver.org" ]; then
- river.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (HP-UX)
iEYEARECAAYFAkqer28ACgkQIXd7fCuc5vI/owCfXkrJuqNSguMmlPxNrj5RyHu8
EaEAoLOYFyO5SDGSoDrw9kIcViZHYV62
=pjAs
-----END PGP SIGNATURE-----
_______________________________________________
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette