#!/usr/local/bin/bash # # compile-server # script that helps update a system # # # Zoidial, Inc. # Eric Thern eric@zoidial.com # March 2002 # # important!! # these users must be added in 4.5, if you upgraded, or else this will fail on make installworld # # these are in /usr/src/etc/master.passwd # also add the proper grou from /usr/src/etc/group to /etc/group # # use 'vipw' and add these two lines: # # smmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/sbin/nologin # mailnull:*:26:26::0:0:Sendmail Default User:/var/spool/mqueue:/sbin/nologin # # add these groups to /etc/group: # smmsp:*:25: # mailnull:*:26: cd /usr/src make clean;make cleandepend;make cleandir echo " ******************************** ******************************** MAKE BUILDWORLD ******************************** ******************************** " make buildworld echo " ******************************** ******************************** MAKE INSTALLWORLD ******************************** ******************************** " make installworld echo " ******************************** ******************************** MAKE BUILDKERNEL ******************************** ******************************** " make buildkernel echo " ******************************** ******************************** MAKE INSTALLKERNEL ******************************** ******************************** " make installkernel echo " ******************** System fully set up! ******************** "