Skip to content

Instantly share code, notes, and snippets.

@jnbek
Last active October 8, 2015 21:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnbek/92b89ca9a49971391f71 to your computer and use it in GitHub Desktop.
Save jnbek/92b89ca9a49971391f71 to your computer and use it in GitHub Desktop.
Fetch FreeBSD install/make scripts
#!/bin/sh
[ -d "$HOME/bin" ] || /bin/mkdir -v $HOME/bin;
cd $HOME/bin;
for i in makeworld makekernel installkernel installworld portupgrade upsrc upports;
do
echo "Fetching $i: ";
/usr/bin/fetch --no-verify-hostname --no-verify-peer https://raw.githubusercontent.com/jnbek/freebsd-local/master/RELENG_10/scripts/$i;
/bin/chmod -v 755 $i;
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment