summaryrefslogtreecommitdiff
path: root/bin/icradius_reset
diff options
context:
space:
mode:
Diffstat (limited to 'bin/icradius_reset')
-rw-r--r--bin/icradius_reset7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/icradius_reset b/bin/icradius_reset
new file mode 100644
index 000000000..58663ee6b
--- /dev/null
+++ b/bin/icradius_reset
@@ -0,0 +1,7 @@
+
+ my $sth = $icradius_dbh->prepare("DELETE FROM radcheck");
+ $sth->execute or die "Can't reset radcheck table: ". $sth->errstr;
+ my $sth2 = $icradius_dbh->prepare("DELETE FROM radreply");
+ $sth2->execute or die "Can't reset radreply table: ". $sth2->errstr;
+
+