Add missing files probably forgotten in previous commit
This commit is contained in:
parent
124f628b5d
commit
05e0775526
32
release/picobsd/dial/floppy.tree/etc/mfs.rc
Normal file
32
release/picobsd/dial/floppy.tree/etc/mfs.rc
Normal file
@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
# $Id: mfs.rc.en,v 1.2 1999/08/22 21:42:59 dwhite dead $
|
||||
### WARNING !!!!!! #####
|
||||
# We remove this file during execution (see EOF).
|
||||
# Awful things happen if its size is > 1024B
|
||||
|
||||
trap : 2
|
||||
trap : 3
|
||||
|
||||
HOME=/; export HOME
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
|
||||
export PATH
|
||||
|
||||
trap "echo 'Reboot interrupted'; exit 1" 3
|
||||
|
||||
sysctl -w vm.defer_swapspace_pageouts=1 vm.disable_swapspace_pageouts=1 2>&1 >/dev/null
|
||||
|
||||
echo ""
|
||||
echo "-------------------------------------------"
|
||||
echo " Please wait. The system is coming up..."
|
||||
echo "-------------------------------------------"
|
||||
echo ""
|
||||
echo "Reading /etc from startup floppy..."
|
||||
mount -o rdonly /dev/fd0a /start_floppy
|
||||
cd /start_floppy/etc
|
||||
cp -Rp . /etc/
|
||||
cd /etc
|
||||
umount /start_floppy
|
||||
echo "Ok. (Now you can remove floppy if you like)"
|
||||
echo ""
|
||||
. rc
|
||||
exit 0
|
103
release/picobsd/dial/floppy.tree/etc/rc
Normal file
103
release/picobsd/dial/floppy.tree/etc/rc
Normal file
@ -0,0 +1,103 @@
|
||||
#!/bin/sh
|
||||
# $Id: rc.en,v 1.4 1999/08/22 21:43:02 dwhite dead $
|
||||
############################################
|
||||
### 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
|
||||
# start up the initial network configuration.
|
||||
if [ -f /etc/rc.network ]; then
|
||||
. /etc/rc.network
|
||||
network_pass1
|
||||
fi
|
||||
# clean up left-over files
|
||||
if [ -n "$network_pass1_done" ]; then
|
||||
network_pass2
|
||||
fi
|
||||
if [ -n "$network_pass2_done" ]; then
|
||||
network_pass3
|
||||
fi
|
||||
|
||||
# stdin must be redirected because it might be for a serial console
|
||||
kbddev=/dev/ttyv0
|
||||
viddev=/dev/ttyv0
|
||||
|
||||
echo -n "Configuring console:"
|
||||
|
||||
# keymap
|
||||
if [ "X${keymap}" != X"NO" ]; then
|
||||
echo -n ' keymap'; kbdcontrol < ${kbddev} -l /usr/share/syscons/${keymap}
|
||||
fi
|
||||
|
||||
# keyrate
|
||||
if [ "X${keyrate}" != X"NO" ]; then
|
||||
echo -n ' keyrate'; kbdcontrol < ${kbddev} -r ${keyrate}
|
||||
fi
|
||||
|
||||
# keybell
|
||||
if [ "X${keybell}" != X"NO" ]; then
|
||||
echo -n ' keybell'; kbdcontrol < ${kbddev} -b ${keybell}
|
||||
fi
|
||||
|
||||
# change function keys
|
||||
if [ "X${keychange}" != X"NO" ]; then
|
||||
echo -n " keychange"
|
||||
set - ${keychange}
|
||||
while [ $# -gt 0 ]
|
||||
do
|
||||
kbdcontrol < ${kbddev} -f "$1" "$2"
|
||||
shift; shift
|
||||
done
|
||||
fi
|
||||
|
||||
# cursor type
|
||||
if [ "X${cursor}" != X"NO" ]; then
|
||||
echo -n ' cursor'; vidcontrol < ${viddev} -c ${cursor}
|
||||
fi
|
||||
|
||||
# font 8x16
|
||||
if [ "X${font8x16}" != X"NO" ]; then
|
||||
echo -n ' font8x16'; vidcontrol < ${viddev} -f 8x16 /usr/share/syscons/${font8x16}
|
||||
fi
|
||||
|
||||
# font 8x14
|
||||
if [ "X${font8x14}" != X"NO" ]; then
|
||||
echo -n ' font8x14'; vidcontrol < ${viddev} -f 8x14 /usr/share/syscons/${font8x14}
|
||||
fi
|
||||
|
||||
# font 8x8
|
||||
if [ "X${font8x8}" != X"NO" ]; then
|
||||
echo -n ' font8x8'; vidcontrol < ${viddev} -f 8x8 /usr/share/syscons/${font8x8}
|
||||
fi
|
||||
|
||||
# blank time
|
||||
if [ "X${blanktime}" != X"NO" ]; then
|
||||
echo -n ' blanktime'; vidcontrol < ${viddev} -t ${blanktime}
|
||||
fi
|
||||
|
||||
# mouse daemon
|
||||
if [ "X${moused_enable}" = X"YES" ] ; then
|
||||
echo -n ' moused'
|
||||
moused ${moused_flags} -p ${moused_port} -t ${moused_type}
|
||||
vidcontrol <${viddev} -m on
|
||||
fi
|
||||
|
||||
echo ''
|
||||
echo ''
|
||||
echo ''
|
||||
echo '+---------- PicoBSD @VER@ (DIALUP) -------------+'
|
||||
echo '| |'
|
||||
echo '| Log in as "root" (no password). |'
|
||||
echo '| |'
|
||||
echo '| This version of PicoBSD is fully under |'
|
||||
echo '| BSD license (except for SSH). For more |'
|
||||
echo '| details see http://www.freebsd.org/~picobsd, |'
|
||||
echo '| or contact the author. |'
|
||||
echo '| |'
|
||||
echo '| abial@freebsd.org |'
|
||||
echo '| |'
|
||||
echo '+----------------------------------------------+'
|
||||
exit 0
|
32
release/picobsd/dial/floppy.tree/etc/rc.conf
Normal file
32
release/picobsd/dial/floppy.tree/etc/rc.conf
Normal file
@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
# $Id: rc.conf.en,v 1.2 1999/08/22 21:43:00 dwhite dead $
|
||||
### Network configuration sub-section ######################
|
||||
### Basic network options: ###
|
||||
hostname="pico.mydomain.edu" # Set this!
|
||||
tcp_extensions="NO" # Allow RFC1323 & RFC1644 extensions (or NO).
|
||||
network_interfaces="lo0" # List of network interfaces (lo0 is loopback).
|
||||
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
|
||||
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
|
||||
### Network routing options: ###
|
||||
defaultrouter="NO" # Set to default gateway (or NO).
|
||||
static_routes="" # Set to static route list (or leave empty).
|
||||
gateway_enable="NO" # Set to YES if this host will be a gateway.
|
||||
arpproxy_all="" # replaces obsolete kernel option ARP_PROXYALL.
|
||||
### System console options #################################
|
||||
keymap="NO" # keymap in /usr/share/syscons/* (or NO).
|
||||
keyrate="NO" # keyboard rate to: slow, normal, fast (or NO).
|
||||
keybell="NO" # bell to duration.pitch or normal or visual (or NO).
|
||||
keychange="NO" # function keys default values (or NO).
|
||||
cursor="NO" # cursor type {normal|blink|destructive} (or NO).
|
||||
font8x16="NO" # font 8x16 from /usr/share/syscons/* (or NO).
|
||||
font8x14="NO" # font 8x14 from /usr/share/syscons/* (or NO).
|
||||
font8x8="NO" # font 8x8 from /usr/share/syscons/* (or NO).
|
||||
blanktime="NO" # blank time (in seconds) or "NO" to turn it off.
|
||||
moused_enable="YES" # Run the mouse daemon
|
||||
moused_type="microsoft"
|
||||
moused_port="/dev/cuaa0"
|
||||
moused_flags="-3"
|
||||
### Allow local configuration override at the very end here ##
|
||||
if [ -f /etc/rc.conf.local ]; then
|
||||
. /etc/rc.conf.local
|
||||
fi
|
Loading…
Reference in New Issue
Block a user