summaryrefslogtreecommitdiffstats
path: root/src/gen_auc_txt.pl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-09-14 11:11:42 +0200
committerHarald Welte <laforge@gnumonks.org>2012-09-14 11:11:42 +0200
commitbfe531b54943751019d44fa4eef017d7936c3610 (patch)
tree209a4af91840a783ad4a4dfd1fd69b243450e666 /src/gen_auc_txt.pl
initial import of a minimalistic AUC (authentication center) core
Diffstat (limited to 'src/gen_auc_txt.pl')
-rwxr-xr-xsrc/gen_auc_txt.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gen_auc_txt.pl b/src/gen_auc_txt.pl
new file mode 100755
index 0000000..504c771
--- /dev/null
+++ b/src/gen_auc_txt.pl
@@ -0,0 +1,10 @@
+#!/usr/bin/perl -w
+
+use strict;
+
+my $COUNT = $ARGV[0];
+my $i;
+
+for ($i = 0; $i < $COUNT; $i++) {
+ printf("90170%010u,5,%032u,%032u,0000,%u,0\n", $i, $i, $i, $i);
+}