summaryrefslogtreecommitdiffstats
path: root/source/n/crda/get_regdb.sh
blob: ce886f488b3122f0d577b0d54c258ca7fd677674 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

_DATE="$(date +%Y%m%d)"

rm -rf wireless-regdb-git_${_DATE} wireless-regdb-git_${_DATE}.tar.bz2

git clone \
  git://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git \
  wireless-regdb-git_${_DATE}

chown -R root:root wireless-regdb-git_${_DATE}
rm -rf wireless-regdb-git_${_DATE}/.git*
tar cjf wireless-regdb-git_${_DATE}.tar.bz2 wireless-regdb-git_${_DATE}
rm -rf wireless-regdb-git_${_DATE}