smheidrich / kitphysikpool-logout

logs you out of all other shared KIT physics department computers ("Poolraum-PCs")
0 stars 0 forks source link

localhost check doesn't work for FQDN host templates #2

Closed smheidrich closed 8 years ago

smheidrich commented 8 years ago

Here

Maybe there is a better way to do this.

smheidrich commented 8 years ago

Note that as a result of this, the script can only be run from inside the pool network. Maybe that's good, though?

smheidrich commented 8 years ago

Kind of fixed in https://github.com/smheidrich/kitphysikpool-logout/commit/547afa59b26754330de2f48dfadd4f421ea25def: People can just put in whatever hostname they would like to use for the localhost check instead of $(hostname).