diff options
author | ivan <ivan> | 2004-04-08 12:00:05 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-04-08 12:00:05 +0000 |
commit | ce41102169513f44c89a1e9bddfb250b29f239bb (patch) | |
tree | d26724eccae1e1451cad5fd1d59e6af344f2269b /rt/sbin | |
parent | 60083c565ce36609c46bbe935ecc31ca97a59210 (diff) |
beginning of RT integration
Diffstat (limited to 'rt/sbin')
-rw-r--r-- | rt/sbin/rt-setup-database | 4 | ||||
-rw-r--r-- | rt/sbin/rt-setup-database.in | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/rt/sbin/rt-setup-database b/rt/sbin/rt-setup-database index 83e08270a..434e68671 100644 --- a/rt/sbin/rt-setup-database +++ b/rt/sbin/rt-setup-database @@ -592,6 +592,10 @@ $0: Set up RT's database --action init Initialize the database drop Drop the database. This will ERASE ALL YOUR DATA + insert_initial + Insert RT's core system objects + insert_initial + Insert RT's core system objects insert Insert data into RT's database. By default, will use RT's installation data. To use a local or supplementary datafile, specify it diff --git a/rt/sbin/rt-setup-database.in b/rt/sbin/rt-setup-database.in index 9e990e5b8..f37c69dc7 100644 --- a/rt/sbin/rt-setup-database.in +++ b/rt/sbin/rt-setup-database.in @@ -110,6 +110,9 @@ elsif ( $args{'action'} eq 'drop' ) { } drop_db(); } +elsif ( $args{'action'} eq 'insert_initial' ) { + insert_initial_data(); +} elsif ( $args{'action'} eq 'insert' ) { insert_data( $args{'datafile'} ); } @@ -589,6 +592,10 @@ $0: Set up RT's database --action init Initialize the database drop Drop the database. This will ERASE ALL YOUR DATA + insert_initial + Insert RT's core system objects + insert_initial + Insert RT's core system objects insert Insert data into RT's database. By default, will use RT's installation data. To use a local or supplementary datafile, specify it |