Skip to content

Instantly share code, notes, and snippets.

@hiredman
Created January 31, 2009 07:40
Show Gist options
  • Save hiredman/55473 to your computer and use it in GitHub Desktop.
Save hiredman/55473 to your computer and use it in GitHub Desktop.
rc(){
find /etc/rc.d/"$1" /usr/local/etc/rc.d/"$1" -exec sudo {} `echo "$*"|cut -f 2- -d \ ` \;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment