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

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

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