~maxb/udd/environment-setup

Viewing all changes in revision 573.

  • Committer: Max Bowsher
  • Date: 2012-04-09 23:47:02 UTC
  • Revision ID: _@maxb.eu-20120409234702-qqw4ypp81suwomex
Factor out duplicated environent setup functionality from the /etc/init.d
script, the crontab, and fixit.sh into code imported by all the scripts.

This results in the scripts being directly runnable without prior effort to
configure appropriate environment variables being needed.

Also stop exporting BASEDIR, since it's not needed elsewhere, and stop
exporting PATH, which by definition must be already exported to be useful.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: