summaryrefslogtreecommitdiff
path: root/bin/fs-setup
diff options
context:
space:
mode:
authorivan <ivan>2001-02-03 14:03:50 +0000
committerivan <ivan>2001-02-03 14:03:50 +0000
commitd220c8a4bfa1aee8f17ed71c2dba655160dd3595 (patch)
tree67e5270d4dbe6d98bf1d6f6213c057997d877e31 /bin/fs-setup
parentd746dfce2e320169ec8217cb09b9dbb0d403675d (diff)
time-based prepaid cards, session monitor. woop!
Diffstat (limited to 'bin/fs-setup')
-rwxr-xr-xbin/fs-setup9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/fs-setup b/bin/fs-setup
index 2c31ff667..1df46d342 100755
--- a/bin/fs-setup
+++ b/bin/fs-setup
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: fs-setup,v 1.32 2000-12-04 00:13:02 ivan Exp $
+# $Id: fs-setup,v 1.33 2001-02-03 14:03:50 ivan Exp $
#
# ivan@sisd.com 97-nov-8,9
#
@@ -32,7 +32,10 @@
# fix radius attributes ivan@sisd.com 98-sep-27
#
# $Log: fs-setup,v $
-# Revision 1.32 2000-12-04 00:13:02 ivan
+# Revision 1.33 2001-02-03 14:03:50 ivan
+# time-based prepaid cards, session monitor. woop!
+#
+# Revision 1.32 2000/12/04 00:13:02 ivan
# fix nas.last type
#
# Revision 1.31 2000/12/01 18:34:53 ivan
@@ -658,6 +661,7 @@ sub tables_hash_hack {
'shell', 'varchar', 'NULL', $char_d,
'quota', 'varchar', 'NULL', $char_d,
'slipip', 'varchar', 'NULL', 15, #four TINYINTs, bah.
+ 'seconds', 'int', 'NULL', '', #uhhhh
],
'primary_key' => 'svcnum',
'unique' => [ [] ],
@@ -739,6 +743,7 @@ sub tables_hash_hack {
'prepaynum', 'int', '', '',
'identifier', 'varchar', '', $char_d,
'amount', @money_type,
+ 'seconds', 'int', 'NULL', '',
],
'primary_key' => 'prepaynum',
'unique' => [ ['identifier'] ],