Update of /cvsroot/leaf/src/The_UnNamed_One/apps/modules
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv15949/apps/modules
Added Files:
buildtool.cfg buildtool.mk modules modutils
Log Message:
initial import
--- NEW FILE: buildtool.mk ---
# makefile for modules
include $(MASTERMAKEFILE)
CONFIG_DIR=.
CONFIG_TARGET_DIR:=$(BT_BUILD_DIR)/modules
$(CONFIG_DIR)/.source:
touch $(CONFIG_DIR)/.source
source: $(CONFIG_DIR)/.source
$(CONFIG_DIR)/.configured: $(CONFIG_DIR)/.source
touch $(CONFIG_DIR)/.configured
$(CONFIG_DIR)/.build: $(CONFIG_DIR)/.configured
mkdir -p $(CONFIG_TARGET_DIR)
mkdir -p $(CONFIG_TARGET_DIR)/etc/init.d
cp -a modules $(CONFIG_TARGET_DIR)/etc
cp -a modutils $(CONFIG_TARGET_DIR)/etc/init.d
cp -a $(CONFIG_TARGET_DIR)/* $(BT_STAGING_DIR)
touch $(CONFIG_DIR)/.build
build: $(CONFIG_DIR)/.build
clean:
rm -rf $(CONFIG_TARGET_DIR)
rm -f $(CONFIG_DIR)/.build
rm -f $(CONFIG_DIR)/.configured
srcclean: clean
rm -f $(CONFIG_DIR)/.source
--- NEW FILE: modutils ---
#! /bin/sh
# /etc/init.d/modules: loads the appropriate modules
# Editted for LRP -- Dave Cinege
# Optimized by Eric Wolzak
RCDLINKS="S,S20"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
kernel=`uname -r`
ln -s /lib/modules /lib/modules/$kernel
# Loop over every line in /etc/modules.
echo 'Loading modules: '
grep ^[a-z0-9A-Z] /etc/modules |
while read module args
do
insmod $module $args 2>/dev/null
lsmod | grep -n -q ^$module || \
logger modutils module $module could not be loaded
done
--- NEW FILE: modules ---
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
#
# All modules should reside in /lib/modules, and you are required
# to list what you need *in the correct order*. Modprobe is not
# used and there is no dependacy checking.
# How they are loaded: insmod [mount][dir]/"$module".ko $args
# For additional modules check the modules.dep file in the modules
# tarball for the dependencies and correct loading order.
########################################################################
# More modules available from:
# TBD
########################################################################
# ISA ethernet cards
#3c509
#eepro io=0x300
# 8390 based ethernet cards
#8390
#ne2k-pci
# card1,card2
#ne io=0x300,0x350
# Those realtek based NICs need mii module
#mii
#8139cp
#8139too
#eepro100
#epic100
#pcnet32
#via-rhine
#winbond-840
# PCI ethernet cards
#3c59x
#natsemi
#tulip
# Modules needed for PPP connection
#slhc
#ppp_generic
#ppp_async
# The three following modules are not always needed
#zlib_inflate
#zlib_deflate
#ppp_deflate
# Modules needed for PPP/PPPOE connection
#slhc
#n_hdlc
#ppp_generic
#ppp_synctty
#pppox
#pppoe
# Modules needed for PPTP connection
#slhc
#ppp_generic
#ppp_async
#ppp_mppe
# Modules needed for L2TP connection
#slhc
#ppp_generic
#pppox
#pppol2tp
#ppp_mppe
# Modules needed for PPPOA connection
# An ATM adapter module must be loaded for this to work
# (e.g. unicorn_pci_atm or unicorn_usb_atm)
#slhc
#ppp_generic
#pppoatm
# Modules needed for ISDN
# Look for type, io and irq settings at help page of isdn.lrp documentation
#slhc
#isdn
#hisax type= io= irq=
# Masquerading 'helper' modules
# Don't remove anything here, unless you know what you are doing
# Other modules available in kernel/net/ipv4/netfilter
nfnetlink
x_tables
ip_tables
ip6_tables
nf_conntrack
nf_conntrack_ipv4
nf_nat
iptable_filter
iptable_mangle
iptable_nat
iptable_raw
ipt_addrtype
ipt_iprange
ipt_owner
ipt_recent
ipt_LOG
ipt_MASQUERADE
ipt_REJECT
ipt_ULOG
xt_conntrack
xt_multiport
xt_physdev
xt_policy
xt_state
xt_tcpudp
xt_connmark
xt_length
xt_comment
xt_hashlimit
xt_tcpmss
xt_pkttype
xt_CONNMARK
xt_CLASSIFY
xt_MARK
# Watchdog support, always choose one
# standard software watchdog
softdog
# .. or ..
# wd1100 module available in kernel/drivers/char
#wd1100 timeout=25 graceful=0
# ipv6 support
#ipv6
# Templates for extra functionnalities
# Warning: the following modules are not provided by default
# they must be downloaded
#
# Bridge support
#bridge
#
# IDE/CD-ROM support
#ide-mod
#ide-disk
#ide-probe-mod
#
# USB support
# do not forget to mount none /proc/bus/usb -t usbdevfs
#usbcore
#usb-uhci
# .. or ..
#usb-ohci
#
# Traffic control modules
#sch_htb
#sch_sfq
#sch_ingress
#cls_fw
#cls_u32
--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
Server = cvs-sourceforge
Revision = HEAD
Directory = modules
</File>
<File modules>
Server = cvs-sourceforge
Revision = HEAD
Directory = modules
</File>
<File modutils>
Server = cvs-sourceforge
Revision = HEAD
Directory = modules
</File>
<Package>
<modules>
Version = 2.6.x
Revision = 0
Help <<EOF
Modules for the kernel
Modules to be used are defined in /etc/modules
Modules should be copied to /lib/modules
LRP package by __PACKAGER__, __BUILDDATE__
EOF
<Permissions>
Files = 644
Directories = 755
</Permissions>
<Owner>
Files = root:root
Directories = root:root
</Owner>
<Contents>
<File>
Filename = etc/modules
Source = etc/modules
Description = kernel modules to
load at boot
Type = conf
Type = local
Type = binary
Permissions = 644
</File>
<File>
Filename = etc/init.d/modutils
Source = etc/init.d/modutils
Type = binary
Permissions = 755
</File>
<File>
Filename = lib/modules
Type = directory
</File>
</Contents>
</modules>
</Package>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits