[WHEREAMI] When is whereami invoked?
François TOURDE
fr-wai at tourde.org
Wed Sep 26 22:06:53 NZST 2007
Le 13779ième jour après Epoch,
Zrajm C. Akfohg écrivait:
> I just installed whereami on my Ubuntu machine, which seems like a
> sweet little program for someone like me who gets totally annoyed with
> Network Manager's lets-hide-all-config-files-from-the-user mentality.
> I don't want windows, I want config files. Man, am I glad I found this
> little gem!
I'm running Debian, where the config files finds you even if you try
to hide yourself ... :) And Whereami is a *must* ...
> However, I'm wondering when and how "whereami" gets invoked. Am I
> supposed to run it myself on the command line, everytime I know that
> my network status has changed? Or is it called automatically from
> somewhere, or under certain conditions?
Look at the 'dpkg -L whereami' output to know basically when it's
invoked:
[...]
/etc/dhcp3/dhclient-exit-hooks.d/whereami
[...]
/etc/network/if-pre-up.d/whereami
[...]
/etc/init.d/whereami
[...]
/etc/apm/scripts.d/whereami
[...]
/etc/apm/resume.d/99whereami
/etc/apm/suspend.d/01whereami
So it's run on boot, on certain apm events (I suppose on ACPI too), on
network up and on dhcp3 exit.
More information about the whereami-discuss
mailing list