CVS: ispman/bin ispman.addUser,1.7,1.8

Atif Ghaffar <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs1:/tmp/cvs-serv9190

Modified Files:
	ispman.addUser 
Log Message:
adding -q mailquota option.

Index: ispman.addUser
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.addUser,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** ispman.addUser	4 Oct 2003 03:08:11 -0000	1.7
--- ispman.addUser	4 Oct 2003 03:17:11 -0000	1.8
***************
*** 3,7 ****
     use FindBin; unshift @INC, ($FindBin::Bin , "$FindBin::Bin/../lib", "$FindBin::Bin/../conf");
     use Getopt::Std;
!    getopt('dflmph',  \%opts);
     unless ($opts{'d'} && $ARGV[0]){
        print "$FindBin::Script options username\n";
--- 3,7 ----
     use FindBin; unshift @INC, ($FindBin::Bin , "$FindBin::Bin/../lib", "$FindBin::Bin/../conf");
     use Getopt::Std;
!    getopt('qdflmph',  \%opts);
     unless ($opts{'d'} && $ARGV[0]){
        print "$FindBin::Script options username\n";
***************
*** 13,16 ****
--- 13,17 ----
        print " -h filehost\tHost where the homeDirectory is created\n";
        print " -m mailhost\tHost where the mailbox is created\n";
+       print " -q mailquota\tin MB\n";
        print " -p password\n";
        print "\n";
***************
*** 50,53 ****
--- 51,56 ----
  $r->param("uid", $user);
  $r->param("userPassword", $opts{"p"});
+ $r->param("mailQuota", $opts{"q"}) if $opts{"q"};
+ 
  
  



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.