head	1.4;
access;
symbols
	RELENG_3_0_0_RELEASE:1.3
	v0_4:1.1.1.1
	PICOBSD:1.1.1;
locks; strict;
comment	@# @;


1.4
date	98.10.25.15.48.17;	author abial;	state dead;
branches;
next	1.3;

1.3
date	98.10.15.21.40.02;	author abial;	state Exp;
branches;
next	1.2;

1.2
date	98.09.26.17.27.21;	author abial;	state Exp;
branches;
next	1.1;

1.1
date	98.08.27.17.38.42;	author abial;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.08.27.17.38.42;	author abial;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Remove redundant files (they are recreated during building from templates
in ../../lang/).
@
text
@#!/bin/sh
# $Id: rc,v 1.3 1998/10/15 21:40:02 abial Exp $
############################################
### Special setup for one floppy PICOBSD ###
### THIS IS NOT THE NORMAL /etc/rc !!!!! ###
############################################
mount -a -t nonfs
if [ -f /etc/rc.conf ]; then
    . /etc/rc.conf
fi
rm -f /var/run/*
if [ "x$swapfile" != "xNO" -a -w "$swapfile" -a -b /dev/vn0b ]; then
	echo "Dodaje $swapfile jako dodatkowy swap."
	vnconfig /dev/vn0b $swapfile && swapon /dev/vn0b
fi
# configure serial devices
if [ -f /etc/rc.serial ]; then
	. /etc/rc.serial
fi
# start up the initial network configuration.
if [ -f /etc/rc.network ]; then
	. /etc/rc.network
	network_pass1
fi
mount -a -t nfs
# clean up left-over files
(cd /var/run && { cp /dev/null utmp; chmod 644 utmp; })
if [ -n "$network_pass1_done" ]; then
    network_pass2
fi
if [ -n "$network_pass2_done" ]; then
    network_pass3
fi
if [ "X${inetd_enable}" = X"YES" ]; then
	echo "Uruchamiam inetd."; inetd ${inetd_flags}
fi
if [ "X${snmpd_enable}" = X"YES" ]; then
	echo "Uruchamiam snmpd."; snmpd ${snmpd_flags}
fi

dev_mkdb

echo ''
if [ "x$swapfile" = "xNO" ]; then
	echo "UWAGA: brak swapu!"
	echo "Nie uruchamiaj zbyt wielu programow na raz..."
fi
echo ''
echo ''
echo '+------------ PicoBSD 0.42 (ISP) --------------+'
echo '|                                              |'
echo '| Zaloguj sie jako "root" (haslo "setup").     |'
echo '|                                              |'
echo '| Ta wersja PicoBSD w pelni podlega            |'
echo '| licencji BSD. Po wiecej szczegolow zajrzyj   |'
echo '| na http://www.freebsd.org/~picobsd, lub      |'
echo '| skontaktuj sie z autorem.                    |'
echo '|                                              |'
echo '|                     abial@@nask.pl            |'
echo '|                                              |'
echo '+----------------------------------------------+'
exit 0
@


1.3
log
@Various fixups and corrections to match the 3.0-RELEASE tree.

The PicoBSD version is now 0.42.
@
text
@d2 1
a2 1
# $Id: rc.pl,v 1.2 1998/09/26 17:27:22 abial Exp $
@


1.2
log
@Small rearrangements for a bugfix release 0.41.
@
text
@d2 1
a2 1
# $Id: rc.pl,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $
d50 1
a50 1
echo '+------------ PicoBSD 0.41 (ISP) --------------+'
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Id: rc,v 1.5 1998/08/19 07:06:27 abial Exp $
d50 1
a50 1
echo '+------------ PicoBSD 0.4 (ISP) ---------------+'
@


1.1.1.1
log
@Initial import of PicoBSD v0.4 tree.
@
text
@@
