Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Make a more obvious low battery warning' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make a more obvious low battery warning
Authored by: Anonymous on Feb 28, '11 12:01:54PM

/etc is a weird place for a script. This is generally used for settings. There are some scripts under /etc, but these generate settings, or are part of the system boot sequence (which is in itself a type of setting). A better place for a script like this would be /usr/local/bin.

Generally in the Unix world, /etc is for settings; /usr is used for installed applications and scripts; /opt for third party alternatives to the OS vendor's shipped environment (which is why MacPorts lives there); and the /usr/local and /opt/local areas are for things unique to a particular environment. If it belongs to a particular user on a system, it should live under their home directory; for scripts, that's preferably $HOME/bin.

Hope that helps.



[ Reply to This | # ]