webmin/postgresql/setup.cgi
2007-04-12 20:24:50 +00:00

14 lines
298 B
Perl
Executable File

#!/usr/local/bin/perl
# setup.cgi
# Setup the database server for the first time
require './postgresql-lib.pl';
&error_setup($text{'setup_err'});
$access{'stop'} || &error($text{'setup_ecannot'});
$err = &setup_postgresql();
&error($err) if ($err);
sleep(3);
&webmin_log("setup");
&redirect("");