Created
June 26, 2015 13:30
-
-
Save johnko/12f03237ab74d69e0148 to your computer and use it in GitHub Desktop.
on mfsbsd, before fzg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# on mfsbsd, before fzg | |
touch /boot/../mfsroot | |
mkdir -p /var/db/pkg | |
mount -t tmpfs tmpfs /var/db/pkg | |
mkdir -p /var/cache/pkg | |
mount -t tmpfs tmpfs /var/cache/pkg | |
mkdir -p /etc/pf | |
mount -t tmpfs tmpfs /etc/pf | |
mkdir -p /root/git | |
mount -t tmpfs tmpfs /root/git | |
mkdir -p /root/local | |
mount -t tmpfs tmpfs /root/local | |
mkdir -p /boot/packages | |
mount -t tmpfs tmpfs /boot/packages | |
pkg install -y git | |
cd /root/bin | |
fetch --no-verify-peer https://raw.githubusercontent.com/johnko/skel/master/bin/fres | |
chmod +x fres | |
fetch --no-verify-peer https://raw.githubusercontent.com/johnko/freebsd-install-script/master/bin/fzg | |
chmod +x fzg | |
fres | |
fres -b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment