Changeset 881cd02


Ignore:
Timestamp:
Nov 19, 2010 12:09:47 PM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master
Children:
66a8e6d
Parents:
403a5ba
Message:

Remove some commented out code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/smbmount.FreeBSD.pl

    r403a5ba r881cd02  
    4343}
    4444
    45 # open(TM, "$TMCC accounts windows |") or die("Failed to execute TMCC");
    4645open(TM, "/usr/local/federation/etc/userconf")or die("Failed to open userconf");
    4746open(CONFIG, ">/etc/nsmb.conf") or die("Failed to open /etc/nsmb.conf");
    48 #open(MAP, ">$AMDMAP") or die("Failed to open $AMDMAP");
    49 #open(PMAP, ">$PAMDMAP") or die("Failed to open $PAMDMAP");
    5047open(FSTAB,">>$FSTAB") or die("Cannot Open File $FSTAB");
    5148
    5249print FSTAB "\n# SMB Configuration Generated by smbmount.pl\n";
    53 #print MAP "# AMD Configuration Generated by smbmount.pl\n";
    5450print CONFIG "# SMB Configuration Generated by smbmount.pl\n\n";
    5551print CONFIG "[$SHARE]\naddr=$ADDR\n\n";
     
    7975        print FSTAB "rw,-N,-f744,-d755,-u$uid,-g$gid\t0\t0\n";
    8076
    81         #print MAP "\n$userlc type:=program;fs:=$AMDROOT$homedir;\\\n";
    82         #print MAP "mount:=\"$MOUNT mount $AMDROOT$homedir\";\\\n";
    83         #print MAP "unmount:=\"$UMOUNT unmount $AMDROOT$homedir\";";
    84 
    8577        #
    8678        # If we are PUSER, the user assigned to mount the project directory,
     
    9486            print FSTAB "rw,-N,-f774,-d775,-u$uid,-g$gid\t0\t0\n";
    9587
    96             #print PMAP "$PNAME type:=program;fs:=$AMDROOT/proj;\\\n";
    97             #print PMAP "mount:=\"$MOUNT mount $AMDROOT/proj\";\\\n";
    98             #print PMAP "unmount:=\"$UMOUNT unmount $AMDROOT/proj\";\n";
    99 
    10088            if(! -d "/proj/$PNAME") {
    10189                    system("$MKDIR -p /proj/$PNAME") &&
     
    10694                print FSTAB "/share\t$FSTYPE\t";
    10795                print FSTAB "rw,-N,-f774,-d775,-u$uid,-g$gid\t0\t0\n";
    108 
    109                 #print PMAP "$PNAME type:=program;fs:=$AMDROOT/share\\\n";
    110                 #print PMAP "mount:=\"$MOUNT mount $AMDROOT/share\";\\\n";
    111                 #print PMAP "unmount:=\"$UMOUNT unmount $AMDROOT/share\";\n";
    11296
    11397                if(! -d "/share") {
     
    124108print("Mounting the $FSTYPE versions of everything\n");
    125109system("$MOUNT -a -t $FSTYPE");
    126 #close(MAP);
    127 #close(PMAP);
    128 
    129 #print "Starting the automounter: $AMD -l syslog -a $AMDROOT $HOMEROOT $AMDMAP $PROJROOT $PAMDMAP\n";
    130 #system("$AMD -l syslog -a $AMDROOT $HOMEROOT $AMDMAP $PROJROOT $PAMDMAP") && die("Unable to start amd");
Note: See TracChangeset for help on using the changeset viewer.