Ignore:
Timestamp:
Mar 5, 2010 1:59:52 PM (15 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
e777dab
Parents:
593e901
Message:

PG works (w/o routing)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/smbmount.FreeBSD.pl

    r593e901 r73e0a61  
    1010$PUSER=shift || "jhickey";
    1111$PNAME=shift || "emulab-ops";
     12$FSTYPE=shift || "smbfs";
    1213$FSTAB="/etc/fstab";
    1314$HOMEROOT="/users";
     
    7576
    7677        print FSTAB "//$user\@$SHARE/$user\t";
    77         print FSTAB "$AMDROOT$homedir\tsmbfs\t";
     78        print FSTAB "$AMDROOT$homedir\t$FSTYPE\t";
    7879        print FSTAB "noauto,rw,-N,-f744,-d755,-u$uid,-g$gid\t0\t0\n";
    7980
     
    9091        if($user =~ m/$PUSER/i) {
    9192            print FSTAB "//$user\@$SHARE/proj-$PNAME\t";
    92             print FSTAB "$AMDROOT/proj\tsmbfs\t";
     93            print FSTAB "$AMDROOT/proj\t$FSTYPE\t";
    9394            print FSTAB "noauto,rw,-N,-f774,-d775,-u$uid,-g$gid\t0\t0\n";
    9495
     
    103104            if ( $share) {
    104105                print FSTAB "//$user\@$SHARE/share\t";
    105                 print FSTAB "$AMDROOT/share\tsmbfs\t";
     106                print FSTAB "$AMDROOT/share\t$FSTYPE\t";
    106107                print FSTAB "noauto,rw,-N,-f774,-d775,-u$uid,-g$gid\t0\t0\n";
    107108
Note: See TracChangeset for help on using the changeset viewer.