mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +00:00
Remove unused code.
This commit is contained in:
parent
12290409a2
commit
12ee49ef92
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103185
@ -3,79 +3,6 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
FDSIZE=NORMAL
|
||||
else
|
||||
FDSIZE=$1
|
||||
fi
|
||||
|
||||
if [ "${FDSIZE}" = "SMALL" ]; then
|
||||
|
||||
sed -e '/ pty /d' \
|
||||
-e '/ pass /d' \
|
||||
-e '/ apm$/d' \
|
||||
-e '/ pmtimer$/d' \
|
||||
-e '/ ppp /d' \
|
||||
-e '/ gif /d' \
|
||||
-e '/ faith /d' \
|
||||
-e '/ random /d' \
|
||||
-e '/ splash$/d' \
|
||||
-e '/PROCFS/d' \
|
||||
-e '/PSEUDOFS/d' \
|
||||
-e '/KTRACE/d' \
|
||||
-e '/SYSV/d' \
|
||||
-e '/SOFTUPDATES/d' \
|
||||
-e '/UFS_DIRHASH/d' \
|
||||
-e '/MFS/d' \
|
||||
-e '/NFSSERVER/d' \
|
||||
-e '/NFS_ROOT/d' \
|
||||
-e '/DEBUG/d' \
|
||||
-e '/DDB/d' \
|
||||
-e '/INVARIANTS/d' \
|
||||
-e '/INVARIANT_SUPPORT/d' \
|
||||
-e '/WITNESS/d' \
|
||||
-e '/AHC_REG_PRETTY_PRINT/d' \
|
||||
-e '/AHD_REG_PRETTY_PRINT/d' \
|
||||
-e '/ pci$/d' \
|
||||
-e '/ adv /d' \
|
||||
-e '/ ahc /d' \
|
||||
-e '/ amd /d' \
|
||||
-e '/ isp /d' \
|
||||
-e '/ sym /d' \
|
||||
-e '/ ncr /d' \
|
||||
-e '/ ch /d' \
|
||||
-e '/ sa /d' \
|
||||
-e '/ ses /d' \
|
||||
-e '/ pcm/d' \
|
||||
-e '/ atapist /d' \
|
||||
-e '/ lpt /d' \
|
||||
-e '/ ppi /d' \
|
||||
-e '/ de /d' \
|
||||
-e '/ txp /d' \
|
||||
-e '/ vx /d' \
|
||||
-e '/ dc /d' \
|
||||
-e '/ fxp /d' \
|
||||
-e '/ pcn /d' \
|
||||
-e '/ rl /d' \
|
||||
-e '/ sf /d' \
|
||||
-e '/ sis /d' \
|
||||
-e '/ ste /d' \
|
||||
-e '/ tl /d' \
|
||||
-e '/ tx /d' \
|
||||
-e '/ vr /d' \
|
||||
-e '/ wb /d' \
|
||||
-e '/ xl /d' \
|
||||
-e '/ lnc /d' \
|
||||
-e '/ ugen /d' \
|
||||
-e '/ uhid /d' \
|
||||
-e '/ ulpt /d' \
|
||||
-e '/ urio /d' \
|
||||
-e '/ uscanner /d' \
|
||||
-e '/maxusers/d' \
|
||||
-e 's/ident.*GENERIC/ident BOOTMFS/g'
|
||||
|
||||
else
|
||||
|
||||
sed -e '/ pty /d' \
|
||||
-e '/ pass /d' \
|
||||
-e '/ apm$/d' \
|
||||
@ -119,8 +46,6 @@ sed -e '/ pty /d' \
|
||||
-e '/maxusers/d' \
|
||||
-e 's/ident.*GENERIC/ident BOOTMFS/g'
|
||||
|
||||
fi
|
||||
|
||||
echo "options NETGRAPH"
|
||||
echo "options NETGRAPH_ETHER"
|
||||
echo "options NETGRAPH_PPPOE"
|
||||
|
@ -3,79 +3,6 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
FDSIZE=NORMAL
|
||||
else
|
||||
FDSIZE=$1
|
||||
fi
|
||||
|
||||
if [ "${FDSIZE}" = "SMALL" ]; then
|
||||
|
||||
sed -e '/ pty /d' \
|
||||
-e '/ pass /d' \
|
||||
-e '/ apm$/d' \
|
||||
-e '/ pmtimer$/d' \
|
||||
-e '/ ppp /d' \
|
||||
-e '/ gif /d' \
|
||||
-e '/ faith /d' \
|
||||
-e '/ random /d' \
|
||||
-e '/ splash$/d' \
|
||||
-e '/PROCFS/d' \
|
||||
-e '/PSEUDOFS/d' \
|
||||
-e '/KTRACE/d' \
|
||||
-e '/SYSV/d' \
|
||||
-e '/SOFTUPDATES/d' \
|
||||
-e '/UFS_DIRHASH/d' \
|
||||
-e '/MFS/d' \
|
||||
-e '/NFSSERVER/d' \
|
||||
-e '/NFS_ROOT/d' \
|
||||
-e '/DEBUG/d' \
|
||||
-e '/DDB/d' \
|
||||
-e '/INVARIANTS/d' \
|
||||
-e '/INVARIANT_SUPPORT/d' \
|
||||
-e '/WITNESS/d' \
|
||||
-e '/AHC_REG_PRETTY_PRINT/d' \
|
||||
-e '/AHD_REG_PRETTY_PRINT/d' \
|
||||
-e '/ pci$/d' \
|
||||
-e '/ adv /d' \
|
||||
-e '/ ahc /d' \
|
||||
-e '/ amd /d' \
|
||||
-e '/ isp /d' \
|
||||
-e '/ sym /d' \
|
||||
-e '/ ncr /d' \
|
||||
-e '/ ch /d' \
|
||||
-e '/ sa /d' \
|
||||
-e '/ ses /d' \
|
||||
-e '/ pcm/d' \
|
||||
-e '/ atapist /d' \
|
||||
-e '/ lpt /d' \
|
||||
-e '/ ppi /d' \
|
||||
-e '/ de /d' \
|
||||
-e '/ txp /d' \
|
||||
-e '/ vx /d' \
|
||||
-e '/ dc /d' \
|
||||
-e '/ fxp /d' \
|
||||
-e '/ pcn /d' \
|
||||
-e '/ rl /d' \
|
||||
-e '/ sf /d' \
|
||||
-e '/ sis /d' \
|
||||
-e '/ ste /d' \
|
||||
-e '/ tl /d' \
|
||||
-e '/ tx /d' \
|
||||
-e '/ vr /d' \
|
||||
-e '/ wb /d' \
|
||||
-e '/ xl /d' \
|
||||
-e '/ lnc /d' \
|
||||
-e '/ ugen /d' \
|
||||
-e '/ uhid /d' \
|
||||
-e '/ ulpt /d' \
|
||||
-e '/ urio /d' \
|
||||
-e '/ uscanner /d' \
|
||||
-e '/maxusers/d' \
|
||||
-e 's/ident.*GENERIC/ident BOOTMFS/g'
|
||||
|
||||
else
|
||||
|
||||
sed -e '/ pty /d' \
|
||||
-e '/ pass /d' \
|
||||
-e '/ apm$/d' \
|
||||
@ -119,8 +46,6 @@ sed -e '/ pty /d' \
|
||||
-e '/maxusers/d' \
|
||||
-e 's/ident.*GENERIC/ident BOOTMFS/g'
|
||||
|
||||
fi
|
||||
|
||||
echo "options NETGRAPH"
|
||||
echo "options NETGRAPH_ETHER"
|
||||
echo "options NETGRAPH_PPPOE"
|
||||
|
Loading…
Reference in New Issue
Block a user