summaryrefslogtreecommitdiff
path: root/source/n/crda/get_regdb.sh
blob: 05a2e93bc768e7567a8d0e21dd68534fc41916d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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/linville/wireless-regdb.git \
  wireless-regdb-git_${_DATE}

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