mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
This is a purely cosmetic clean up. Fix many cut and paste problems that
had turned tabs into spaces.
This commit is contained in:
parent
a3e026396c
commit
1f55ebbcd9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7708
@ -32,9 +32,9 @@
|
||||
# Floppy formats:
|
||||
#
|
||||
# To make a filesystem on a floppy:
|
||||
# fdformat [-f <size>] fd<drive>[.<size>]
|
||||
# disklabel -r -w fd<drive>[.<size>] fd<size>
|
||||
# newfs fd<drive>[.<size>]
|
||||
# fdformat [-f <size>] fd<drive>[.<size>]
|
||||
# disklabel -r -w fd<drive>[.<size>] fd<size>
|
||||
# newfs fd<drive>[.<size>]
|
||||
#
|
||||
|
||||
fd360:\
|
||||
@ -110,7 +110,7 @@ mk156|toshiba156|Toshiba MK156 156Mb:\
|
||||
:dt=SCSI:ty=winchester:se#512:nt#10:ns#35:nc#825:\
|
||||
:pa#15748:oa#0:ba#4096:fa#512:ta=4.2BSD:\
|
||||
:pb#15748:ob#15748:tb=swap:\
|
||||
:pc#288750:oc#0:\
|
||||
:pc#288750:oc#0:\
|
||||
:ph#257250:oh#31500:bh#4096:fh#512:th=4.2BSD:
|
||||
|
||||
cp3100|Connor Peripherals 100MB IDE:\
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.i386,v 1.4 1995/04/04 17:34:55 ache Exp $
|
||||
# $Id: rc.i386,v 1.5 1995/04/06 02:38:37 jkh Exp $
|
||||
# Do i386 specific processing
|
||||
#
|
||||
|
||||
@ -9,12 +9,12 @@ echo -n 'enabling FreeBSD/386 options:'
|
||||
# Start the SCO binary emulation if requested.
|
||||
if [ "X${ibcs2}" = X"YES" ]; then
|
||||
# Re-enable this if ibcs2 ever shuts up.
|
||||
# echo -n ' ibcs2'; ibcs2
|
||||
# echo -n ' ibcs2'; ibcs2
|
||||
ibcs2
|
||||
fi
|
||||
|
||||
if [ "X${xtend}" != X"NO" -a -x /usr/libexec/xtend ]; then
|
||||
echo -n ' xtend'; /usr/libexec/xtend
|
||||
echo -n ' xtend'; /usr/libexec/xtend
|
||||
fi
|
||||
|
||||
##########################################################################
|
||||
@ -43,7 +43,7 @@ fi
|
||||
|
||||
# keyrate
|
||||
if [ "X${keyrate}" != X"NO" ]; then
|
||||
echo -n ' keyrate'; kbdcontrol -r ${keyrate}
|
||||
echo -n ' keyrate'; kbdcontrol -r ${keyrate}
|
||||
fi
|
||||
|
||||
# change function keys
|
||||
@ -64,7 +64,7 @@ fi
|
||||
|
||||
# cursor type
|
||||
if [ "X${cursor}" != X"NO" ]; then
|
||||
echo -n ' cursor'; vidcontrol -c ${cursor}
|
||||
echo -n ' cursor'; vidcontrol -c ${cursor}
|
||||
fi
|
||||
|
||||
# screen mapping
|
||||
|
@ -32,9 +32,9 @@
|
||||
# Floppy formats:
|
||||
#
|
||||
# To make a filesystem on a floppy:
|
||||
# fdformat [-f <size>] fd<drive>[.<size>]
|
||||
# disklabel -r -w fd<drive>[.<size>] fd<size>
|
||||
# newfs fd<drive>[.<size>]
|
||||
# fdformat [-f <size>] fd<drive>[.<size>]
|
||||
# disklabel -r -w fd<drive>[.<size>] fd<size>
|
||||
# newfs fd<drive>[.<size>]
|
||||
#
|
||||
|
||||
fd360:\
|
||||
@ -110,7 +110,7 @@ mk156|toshiba156|Toshiba MK156 156Mb:\
|
||||
:dt=SCSI:ty=winchester:se#512:nt#10:ns#35:nc#825:\
|
||||
:pa#15748:oa#0:ba#4096:fa#512:ta=4.2BSD:\
|
||||
:pb#15748:ob#15748:tb=swap:\
|
||||
:pc#288750:oc#0:\
|
||||
:pc#288750:oc#0:\
|
||||
:ph#257250:oh#31500:bh#4096:fh#512:th=4.2BSD:
|
||||
|
||||
cp3100|Connor Peripherals 100MB IDE:\
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.i386,v 1.4 1995/04/04 17:34:55 ache Exp $
|
||||
# $Id: rc.i386,v 1.5 1995/04/06 02:38:37 jkh Exp $
|
||||
# Do i386 specific processing
|
||||
#
|
||||
|
||||
@ -9,12 +9,12 @@ echo -n 'enabling FreeBSD/386 options:'
|
||||
# Start the SCO binary emulation if requested.
|
||||
if [ "X${ibcs2}" = X"YES" ]; then
|
||||
# Re-enable this if ibcs2 ever shuts up.
|
||||
# echo -n ' ibcs2'; ibcs2
|
||||
# echo -n ' ibcs2'; ibcs2
|
||||
ibcs2
|
||||
fi
|
||||
|
||||
if [ "X${xtend}" != X"NO" -a -x /usr/libexec/xtend ]; then
|
||||
echo -n ' xtend'; /usr/libexec/xtend
|
||||
echo -n ' xtend'; /usr/libexec/xtend
|
||||
fi
|
||||
|
||||
##########################################################################
|
||||
@ -43,7 +43,7 @@ fi
|
||||
|
||||
# keyrate
|
||||
if [ "X${keyrate}" != X"NO" ]; then
|
||||
echo -n ' keyrate'; kbdcontrol -r ${keyrate}
|
||||
echo -n ' keyrate'; kbdcontrol -r ${keyrate}
|
||||
fi
|
||||
|
||||
# change function keys
|
||||
@ -64,7 +64,7 @@ fi
|
||||
|
||||
# cursor type
|
||||
if [ "X${cursor}" != X"NO" ]; then
|
||||
echo -n ' cursor'; vidcontrol -c ${cursor}
|
||||
echo -n ' cursor'; vidcontrol -c ${cursor}
|
||||
fi
|
||||
|
||||
# screen mapping
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: hosts,v 1.3 1994/06/04 02:03:45 phk Exp $
|
||||
# $Id: hosts,v 1.4 1994/06/24 23:50:16 wollman Exp $
|
||||
#
|
||||
# Host Database
|
||||
# This file should contain the addresses and aliases
|
||||
@ -16,9 +16,9 @@
|
||||
# According to RFC 1597, you can use the following IP networks for
|
||||
# private nets which will never be connected to the Internet:
|
||||
#
|
||||
# 10.0.0.0 - 10.255.255.255
|
||||
# 172.16.0.0 - 172.31.255.255
|
||||
# 192.168.0.0 - 192.168.255.255
|
||||
# 10.0.0.0 - 10.255.255.255
|
||||
# 172.16.0.0 - 172.31.255.255
|
||||
# 192.168.0.0 - 192.168.255.255
|
||||
#
|
||||
# In case you want to be able to connect to the Internet, you need
|
||||
# real official assigned numbers. PLEASE PLEASE PLEASE do not try
|
||||
|
24
etc/modems
24
etc/modems
@ -4,18 +4,18 @@
|
||||
# modems -- modem configuration data base file
|
||||
# see tip(1), modems(5)
|
||||
#
|
||||
# dial_command AT command to dial up remote
|
||||
# echo_off_command AT command to turn off command echo
|
||||
# escape_guard_time Shroud escape sequence with specified delay (ms)
|
||||
# escape_sequence Return to command escape sequence
|
||||
# hangup_command AT command to hangup modem
|
||||
# hw_flow_control Enable RTS/CTS flow control between DTE/DCE
|
||||
# intercharacter_delay Delay between characters sent to modem when issuing
|
||||
# commands
|
||||
# intercommand_delay Minimum delay between commands to modem
|
||||
# init_string AT command to initialize modem before dialing out
|
||||
# lock_baud Use fixed DTE / DCE bit rate
|
||||
# reset_delay Delay required by modem for reset
|
||||
# dial_command AT command to dial up remote
|
||||
# echo_off_command AT command to turn off command echo
|
||||
# escape_guard_time Shroud escape sequence with specified delay (ms)
|
||||
# escape_sequence Return to command escape sequence
|
||||
# hangup_command AT command to hangup modem
|
||||
# hw_flow_control Enable RTS/CTS flow control between DTE/DCE
|
||||
# intercharacter_delay Delay between characters sent to modem when issuing
|
||||
# commands
|
||||
# intercommand_delay Minimum delay between commands to modem
|
||||
# init_string AT command to initialize modem before dialing out
|
||||
# lock_baud Use fixed DTE / DCE bit rate
|
||||
# reset_delay Delay required by modem for reset
|
||||
#
|
||||
|
||||
sportster|st|US Robotics Sportster 14.4K:dial_command=ATDT%s\r:hangup_command=ATH\r:\
|
||||
|
26
etc/netstart
26
etc/netstart
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: netstart,v 1.24 1995/03/29 03:33:55 rgrimes Exp $
|
||||
# $Id: netstart,v 1.25 1995/03/30 06:26:08 rgrimes Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# my-name is my symbolic name
|
||||
@ -12,8 +12,8 @@ fi
|
||||
|
||||
# Set the domainname if we're using NIS
|
||||
if [ -z "`domainname`" -a -e "/etc/defaultdomain" ] ; then
|
||||
domainname=`cat /etc/defaultdomain`
|
||||
domainname $domainname
|
||||
domainname=`cat /etc/defaultdomain`
|
||||
domainname $domainname
|
||||
fi
|
||||
|
||||
for i in /etc/hostname.*
|
||||
@ -45,17 +45,17 @@ fi
|
||||
# route add $hostname localhost
|
||||
|
||||
if [ "x$gated" != "xNO" -o "x$routedflags" != "xNO" ] ; then
|
||||
echo -n starting routing daemons:
|
||||
echo -n starting routing daemons:
|
||||
|
||||
# $gated and $routedflags are imported from /etc/sysconfig.
|
||||
# If $gated == YES, gated is used; otherwise routed.
|
||||
# If $routedflags == NO, routed isn't run.
|
||||
# $gated and $routedflags are imported from /etc/sysconfig.
|
||||
# If $gated == YES, gated is used; otherwise routed.
|
||||
# If $routedflags == NO, routed isn't run.
|
||||
|
||||
if [ "X${gated}" = X"YES" -a -r /etc/gated.conf ]; then
|
||||
echo -n ' gated'; gated $gatedflags
|
||||
elif [ "X${routedflags}" != X"NO" ]; then
|
||||
echo -n ' routed'; routed $routedflags
|
||||
fi
|
||||
if [ "X${gated}" = X"YES" -a -r /etc/gated.conf ]; then
|
||||
echo -n ' gated'; gated $gatedflags
|
||||
elif [ "X${routedflags}" != X"NO" ]; then
|
||||
echo -n ' routed'; routed $routedflags
|
||||
fi
|
||||
|
||||
echo '.'
|
||||
echo '.'
|
||||
fi
|
||||
|
14
etc/rc
14
etc/rc
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Id: rc,v 1.59 1995/03/30 00:01:08 ache Exp $
|
||||
# $Id: rc,v 1.60 1995/03/30 06:26:09 rgrimes Exp $
|
||||
# From: @(#)rc 5.27 (Berkeley) 6/5/91
|
||||
|
||||
# System startup script run by init on autoboot
|
||||
@ -129,13 +129,13 @@ fi
|
||||
#
|
||||
echo -n starting system daemons:
|
||||
|
||||
echo ' syslogd.'; syslogd
|
||||
echo ' syslogd.'; syslogd
|
||||
|
||||
echo -n starting network daemons:
|
||||
|
||||
# $namedflags is imported from /etc/sysconfig
|
||||
if [ "X${namedflags}" != "XNO" ]; then
|
||||
echo -n ' named'; named $namedflags
|
||||
echo -n ' named'; named $namedflags
|
||||
fi
|
||||
|
||||
# $ntpdate and $xntpdflags are imported from /etc/sysconfig.
|
||||
@ -169,16 +169,16 @@ fi
|
||||
# Start ypserv if we're an NIS server.
|
||||
# Run yppasswdd only on the NIS master server
|
||||
if [ "X${nis_serverflags}" != X"NO" ]; then
|
||||
echo -n ' ypserv'; ypserv ${nis_serverflags}
|
||||
echo -n ' ypserv'; ypserv ${nis_serverflags}
|
||||
|
||||
if [ "X${yppasswddflags}" != X"NO" ]; then
|
||||
echo -n ' yppasswdd'; yppasswdd ${yppasswddflags}
|
||||
echo -n ' yppasswdd'; yppasswdd ${yppasswddflags}
|
||||
fi
|
||||
fi
|
||||
|
||||
# Start ypbind if we're an NIS client
|
||||
if [ "X${nis_clientflags}" != X"NO" ]; then
|
||||
echo -n ' ypbind'; ypbind ${nis_clientflags}
|
||||
echo -n ' ypbind'; ypbind ${nis_clientflags}
|
||||
fi
|
||||
|
||||
# $rwhod is imported from /etc/sysconfig;
|
||||
@ -238,7 +238,7 @@ fi
|
||||
#
|
||||
echo -n standard daemons:
|
||||
echo -n ' cron'; cron
|
||||
echo -n ' printer'; lpd
|
||||
echo -n ' printer'; lpd
|
||||
|
||||
# $sendmail_flags is imported from /etc/sysconfig;
|
||||
# if $sendmail_flags is something other than NO, sendmail is run.
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Change some defauls for serial devices.
|
||||
# Standard defaults are:
|
||||
# dtrwait 300 drainwait 0
|
||||
# dtrwait 300 drainwait 0
|
||||
# initial cflag from <sys/ttydefaults.h> = cread cs8 hupcl
|
||||
# initial iflag, lflag and oflag all 0
|
||||
# speed 9600
|
||||
@ -41,7 +41,8 @@ modem() {
|
||||
# Modem that supports CTS and perhaps RTS handshaking.
|
||||
for i in $*
|
||||
do
|
||||
comcontrol /dev/ttyd$i dtrwait 100 drainwait 180 # may depend on modem
|
||||
# may depend on modem
|
||||
comcontrol /dev/ttyd$i dtrwait 100 drainwait 180
|
||||
# Lock crtscts on.
|
||||
# Speed reasonable for V42bis.
|
||||
stty </dev/ttyid$i crtscts 57600
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Change some defauls for serial devices.
|
||||
# Standard defaults are:
|
||||
# dtrwait 300 drainwait 0
|
||||
# dtrwait 300 drainwait 0
|
||||
# initial cflag from <sys/ttydefaults.h> = cread cs8 hupcl
|
||||
# initial iflag, lflag and oflag all 0
|
||||
# speed 9600
|
||||
@ -41,7 +41,8 @@ modem() {
|
||||
# Modem that supports CTS and perhaps RTS handshaking.
|
||||
for i in $*
|
||||
do
|
||||
comcontrol /dev/ttyd$i dtrwait 100 drainwait 180 # may depend on modem
|
||||
# may depend on modem
|
||||
comcontrol /dev/ttyd$i dtrwait 100 drainwait 180
|
||||
# Lock crtscts on.
|
||||
# Speed reasonable for V42bis.
|
||||
stty </dev/ttyid$i crtscts 57600
|
||||
|
@ -52,7 +52,7 @@ cons25|ansis|ansi80x25:\
|
||||
cons25-m|ansis-mono|ansi80x25-mono:\
|
||||
:pa@:Co@:Sf@:Sb@:op@:us=\E[4m:ue=\E[m:md@:mh@:tc=cons25:
|
||||
cons50|ansil|ansi80x50:\
|
||||
:li#50:tc=cons25:
|
||||
:li#50:tc=cons25:
|
||||
cons50-m|ansil-mono|ansi80x50-mono:\
|
||||
:li#50:tc=cons25-m:
|
||||
# Syscons console with koi8-r russian code table.
|
||||
@ -77,13 +77,13 @@ cons50l1|cons50-iso8859-1:\
|
||||
cons50l1-m|cons50-iso8859-1-mono:\
|
||||
:li#50:tc=cons25l1-m:
|
||||
dosansi|ANSI.SYS standard crt:\
|
||||
:am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\
|
||||
:do=\E[B:li#25:mi:nd=\E[C:\
|
||||
:se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\
|
||||
:md=\E[1m:mh=\E[m:mb=\E[5m:me=\E[m:\
|
||||
:kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\
|
||||
:k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\
|
||||
:k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED:
|
||||
:am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\
|
||||
:do=\E[B:li#25:mi:nd=\E[C:\
|
||||
:se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\
|
||||
:md=\E[1m:mh=\E[m:mb=\E[5m:me=\E[m:\
|
||||
:kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\
|
||||
:k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\
|
||||
:k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED:
|
||||
|
||||
# The following is a version of the ibm-pc entry distributed with PC/IX,
|
||||
# (Interactive Systems' System 3 for the Big Blue), modified by Richard
|
||||
|
12
etc/weekly
12
etc/weekly
@ -48,8 +48,8 @@ cd /var/log
|
||||
if [ -f messages.2 ]; then mv -f messages.2 messages.3; fi
|
||||
if [ -f messages.1 ]; then mv -f messages.1 messages.2; fi
|
||||
if [ -f messages.0 ]; then mv -f messages.0 messages.1; fi
|
||||
mv -f messages messages.0
|
||||
cp /dev/null messages
|
||||
mv -f messages messages.0
|
||||
cp /dev/null messages
|
||||
chmod 644 messages
|
||||
kill -1 `cat /var/run/syslog.pid`
|
||||
cd /
|
||||
@ -59,8 +59,8 @@ cd /var/cron
|
||||
if [ -f log.2 ]; then mv -f log.2 log.3; fi
|
||||
if [ -f log.1 ]; then mv -f log.1 log.2; fi
|
||||
if [ -f log.0 ]; then mv -f log.0 log.1; fi
|
||||
mv -f log log.0
|
||||
cp /dev/null log
|
||||
mv -f log log.0
|
||||
cp /dev/null log
|
||||
chmod 600 log
|
||||
cd /
|
||||
|
||||
@ -69,7 +69,7 @@ echo "Rebuilding locate database:"
|
||||
locdb=/var/db/locate.database
|
||||
touch ${locdb}; chown nobody ${locdb}; chmod 644 ${locdb}
|
||||
echo /usr/libexec/locate.updatedb | nice -5 su -m nobody 2>&1 |\
|
||||
fgrep -v 'Permission denied'
|
||||
fgrep -v 'Permission denied'
|
||||
chmod 444 ${locdb}
|
||||
|
||||
echo ""
|
||||
@ -80,4 +80,4 @@ makewhatis "${MANPATH}"
|
||||
|
||||
#echo ""
|
||||
#echo "Reformatting manual pages:"
|
||||
#echo catman "${MANPATH}" | su man
|
||||
#echo catman "${MANPATH}" | su man
|
||||
|
Loading…
Reference in New Issue
Block a user