1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Move mfs-related files to a different subtree

This commit is contained in:
Luigi Rizzo 2000-05-31 12:27:38 +00:00
parent f09a623ad9
commit 1bcc7e80bf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61120
2 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,62 @@
# $FreeBSD$
# Authentication methods
auth-defaults:\
:auth=krb_skey_or_passwd,passwd,kerberos,skey:
auth-root-defaults:\
:auth-login=krb_skey_or_passwd,passwd,kerberos,skey:\
:auth-rlogin=krb_or_skey,kerberos,skey:
auth-ftp-defaults:\
:auth=skey_or_pwd,passwd,skey:
# Example defaults
default:\
:cputime=infinity:\
:datasize-cur=22M:\
:stacksize-cur=8M:\
:memorylocked-cur=10M:\
:memoryuse-cur=30M:\
:filesize=infinity:\
:coredumpsize=0:\
:maxproc-cur=64:\
:openfiles-cur=64:\
:priority=0:\
:requirehome@:\
:umask=022:\
:tc=auth-defaults:
# root - fallback for root logins
root:\
:path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
:cputime=infinity:\
:datasize=infinity:\
:stacksize=infinity:\
:memorylocked=infinity:\
:memoryuse=infinity:\
:filesize=infinity:\
:coredumpsize=0:\
:openfiles=infinity:\
:maxproc=infinity:\
:memoryuse-cur=32M:\
:maxproc-cur=64:\
:openfiles-cur=1024:\
:priority=0:\
:requirehome@:\
:umask=022:\
:tc=auth-root-defaults:
# Settings used by /etc/rc
daemon:\
:coredumpsize@:\
:coredumpsize-cur=0:\
:datasize=infinity:\
:datasize-cur@:\
:maxproc=512:\
:maxproc-cur@:\
:memoryuse-cur=64M:\
:memorylocked-cur=64M:\
:openfiles=1024:\
:openfiles-cur@:\
:stacksize=16M:\
:stacksize-cur@:\
:tc=default:

View File

@ -0,0 +1,29 @@
#!/bin/sh
# $FreeBSD$
# WARNING !!! We remove this file during execution (see EOF).
# Awful things happen if its size is > 1024B
stty status '^T'
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
### Special setup for one floppy PICOBSD ###
set `df /` ; dev="/dev/$8"
echo "Reading /etc from ${dev}..."
mount -o rdonly ${dev} /mnt
cd /mnt/etc ; cp -Rp . /etc/
cp -Rp /mnt/root /
cd /etc
gzip -d *.gz
pwd_mkdb -p ./master.passwd
umount /mnt
echo "Ok. (Now you can remove ${dev} if you like)"
echo ""
. rc
exit 0