#!/bin/sh if [ -f /usr/src/UPDATING ]; then cat << EOF You are building the src tree for current You should only see failures when the build actually dies Other then that you don't need to see the compile process. EOF echo -n "Update src: " && cd /usr/src && git pull >/dev/null && echo "Done" echo -n "Building kernel: " && cd /usr/src && make buildkernel >/dev/null 2>&1 && echo "Done" echo -n "Building world: " && cd /usr/src && make buildworld >/dev/null 2>&1 && echo "Done" echo -n "Installing kernel: " && cd /usr/src && make installkernel >/dev/null 2>&1 && echo "Done" echo -n "Installing world: " && cd /usr/src && make installworld >/dev/null 2>&1 && echo "Done" fi