ispman/scripts ldifupdate,1.15,1.16
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10286/scripts
Modified Files:
ldifupdate
Log Message:
checking default values for ispmanStatus and FTPStatus
Index: ldifupdate
===================================================================
RCS file: /cvsroot/ispman/ispman/scripts/ldifupdate,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- ldifupdate 6 Jun 2004 09:07:08 -0000 1.15
+++ ldifupdate 20 Jun 2004 13:05:33 -0000 1.16
@@ -185,6 +185,12 @@
"Please adjust \@default_webhost array to set them automatically\n";
}
}
+
+ # checking FTPStatus
+ if ( !$entry->get_value("FTPStatus") ) {
+ $msg .= "adding FTPStatus: active\n";
+ $entry->add( "FTPStatus", "active" );
+ }
}
}
@@ -333,6 +339,18 @@
$entry->replace( "ispmanVhostExtraConf", $codedconf );
}
+ # checking ispmanStatus
+ if ( !$entry->get_value("ispmanStatus") ) {
+ $msg .= "adding ispmanStatus: active\n";
+ $entry->add( "ispmanStatus", "active" );
+ }
+
+ # checking FTPStatus
+ if ( !$entry->get_value("FTPStatus") ) {
+ $msg .= "adding FTPStatus: active\n";
+ $entry->add( "FTPStatus", "active" );
+ }
+
# checking ispmanVhostServerAlias
my @aliases = $entry->get_value("ispmanVhostServerAlias");
if (@aliases) {
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND