summaryrefslogtreecommitdiffstats
path: root/kernel/scripts/CopyRep
blob: 088b3e38f66b05180ea42ea8a18396eca196829a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
# Copies the repository files to the working kernel directory
# This is used on a freshly untarred kernel

# 23 August 2002 - permute br-nf-bds and ebtables copy order

export FROM=/ebtables-cvs/ebtables2/
export TO=/usr/src/linux-2.4.20-pre5

mkdir -p $TO/net/bridge/netfilter
mkdir -p $TO/include/linux/netfilter_bridge
cp -r -f $FROM/kernel/linux/* $TO/
cp -r -f $FROM/br-nf-bds/linux/* $TO/