Skip to content

Instantly share code, notes, and snippets.

@EricCrosson
Created March 30, 2013 04:05
Show Gist options
  • Save EricCrosson/1a6825d8e93c1e348392 to your computer and use it in GitHub Desktop.
Save EricCrosson/1a6825d8e93c1e348392 to your computer and use it in GitHub Desktop.
Code to run a specific host's bash init script, if applicable.
[ -f ~/Dropbox/config/user.init.d/`hostname`.sh ] && \
. ~/Dropbox/config/user.init.d/`hostname`.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment