2 # $Id: rc.en,v 1.4 1999/01/12 14:09:20 asami Exp $
3 ############################################
4 ### Special setup for one floppy PICOBSD ###
5 ### THIS IS NOT THE NORMAL /etc/rc !!!!! ###
6 ############################################
8 if [ -f /etc/rc.conf ]; then
12 if [ "x$swapfile" != "xNO" -a -w "$swapfile" -a -b /dev/vn0b ]; then
13 echo "Adding $swapfile as additional swap."
14 vnconfig /dev/vn0b $swapfile && swapon /dev/vn0b
16 # configure serial devices
17 if [ -f /etc/rc.serial ]; then
20 # start up the initial network configuration.
21 if [ -f /etc/rc.network ]; then
26 chmod 666 /dev/tty[pqrsPQRS]*
27 # clean up left-over files
28 (cd /var/run && { cp /dev/null utmp; chmod 644 utmp; })
29 if [ -n "$network_pass1_done" ]; then
32 if [ -n "$network_pass2_done" ]; then
35 if [ "X${inetd_enable}" = X"YES" ]; then
36 echo "Starting inetd."; inetd ${inetd_flags}
42 if [ "x$swapfile" = "xNO" ]; then
43 echo "WARNING: no swap partition!"
44 echo "Don't run too many programs at the same time..."
48 echo '+----------- PicoBSD @VER@ (ISP) ---------------+'
50 echo '| Log in as "root" (password "setup"). |'
52 echo '| This version of PicoBSD is fully under |'
53 echo '| BSD license. For more details see |'
54 echo '| http://www.freebsd.org/~picobsd, or contact |'
55 echo '| the author. |'
57 echo '| abial@freebsd.org |'
59 echo '+----------------------------------------------+'