summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-05-24 23:09:53 +0200
committerJohannes Berg <johannes@sipsolutions.net>2008-05-24 23:09:53 +0200
commit5e7a4d6dc4c1aa75eae3ef3c3b7798ca6bbe79c5 (patch)
treefbe681dff25e2549aac03c3b85727150614a080e
parent85e37179ad797d4b92ab6cbec01c530cb9655368 (diff)
downloadcrda-5e7a4d6dc4c1aa75eae3ef3c3b7798ca6bbe79c5.tar.gz
crda-5e7a4d6dc4c1aa75eae3ef3c3b7798ca6bbe79c5.tar.bz2
crda-5e7a4d6dc4c1aa75eae3ef3c3b7798ca6bbe79c5.zip
move magic pattern into README
-rw-r--r--README14
-rw-r--r--regdb.magic7
2 files changed, 14 insertions, 7 deletions
diff --git a/README b/README
index f246500..ee5fe1a 100644
--- a/README
+++ b/README
@@ -47,3 +47,17 @@ Under certain circumstances it may be desirable to have the regulatory
agent accept multiple keys, this can be achieved by compiling it when
more than one key is present in the source directory (named *.pem). In
this case, the agent will accept a signature of any of those keys.
+
+ MAGIC PATTERN
+===============
+
+Use the following magic(5) pattern to recognise CRDA binary regulatory
+database files:
+
+---- %< ----
+# CRDA Regulatory database file
+# http://git.kernel.org/?p=linux/kernel/git/mcgrof/crda.git;a=summary
+# (see regdb.h)
+0 belong 0x52474442 CRDA regulatory database file
+>4 belong 19 (Version 1)
+---- >% ----
diff --git a/regdb.magic b/regdb.magic
deleted file mode 100644
index 7afe7e0..0000000
--- a/regdb.magic
+++ /dev/null
@@ -1,7 +0,0 @@
-## magic(5) pattern for the regulatory database
-
-# CRDA Regulatory database file
-# http://git.kernel.org/?p=linux/kernel/git/mcgrof/crda.git;a=summary
-# (see regdb.h)
-0 belong 0x52474442 CRDA regulatory database file
->4 belong 19 (Version 1)