Locations

LaptopLocation / Locations

Locations

Each location is decided by one or more measures that return either true or false. The location that scores the most points are selected as the current location.

Each location is identified using a string enclosed in square brackets, and then followed by the measures/conditions.

[Home]
# Measures go here

[University]
# Other measure go here

Possible measure are at the moment:

  • grep Searches for a given string in a file:

  • grep /etc/resolv.conf cs.aau.dk