Commit e7bea95d authored by Leigh B. Stoller's avatar Leigh B. Stoller

More wikidoc tidbits.

parent b6d249bb
......@@ -116,6 +116,7 @@ my $WAP = "$PREFIX/sbin/withadminprivs";
my $NAMED_SETUP = "$PREFIX/sbin/named_setup";
my $ADDPUBKEY = "$PREFIX/sbin/addpubkey";
my $TBACCT = "$PREFIX/sbin/tbacct";
my $WWWDIR = "$PREFIX/www";
my $CRACKLIB_DICT = "/usr/local/lib/pw_dict.pwd";
......@@ -1321,6 +1322,17 @@ Phase "chkupuser", "Setting up checkup user (elabckup)", sub {
" -u elabckup -n 'Emulab Checkup User' ".
"-e '@TBTESTSUITEEMAIL@'");
};
Phase "wikidocs", "Installing wikidocs redirect", sub {
DoneIfExists("$WWWDIR/wikidocs/.htaccess");
if (! -e "$WWWDIR/wikidocs") {
mkdir("$WWWDIR/wikidocs", 0755) or
PhaseFail("Unable to make $WWWDIR/wikidocs: $!");
}
CreateFileFatal("$WWWDIR/wikidocs/.htaccess",
"RedirectMatch (.*)/wikidocs ".
" http://users.emulab.net/trac/emulab");
};
Phase "experiments", "Setting up system experiments", sub {
foreach my $eid (keys(%EXPERIMENTS)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment