Changeset 73e0a61 for fedkit/smbmount.FreeBSD.pl
- Timestamp:
- Mar 5, 2010 1:59:52 PM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- e777dab
- Parents:
- 593e901
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/smbmount.FreeBSD.pl
r593e901 r73e0a61 10 10 $PUSER=shift || "jhickey"; 11 11 $PNAME=shift || "emulab-ops"; 12 $FSTYPE=shift || "smbfs"; 12 13 $FSTAB="/etc/fstab"; 13 14 $HOMEROOT="/users"; … … 75 76 76 77 print FSTAB "//$user\@$SHARE/$user\t"; 77 print FSTAB "$AMDROOT$homedir\t smbfs\t";78 print FSTAB "$AMDROOT$homedir\t$FSTYPE\t"; 78 79 print FSTAB "noauto,rw,-N,-f744,-d755,-u$uid,-g$gid\t0\t0\n"; 79 80 … … 90 91 if($user =~ m/$PUSER/i) { 91 92 print FSTAB "//$user\@$SHARE/proj-$PNAME\t"; 92 print FSTAB "$AMDROOT/proj\t smbfs\t";93 print FSTAB "$AMDROOT/proj\t$FSTYPE\t"; 93 94 print FSTAB "noauto,rw,-N,-f774,-d775,-u$uid,-g$gid\t0\t0\n"; 94 95 … … 103 104 if ( $share) { 104 105 print FSTAB "//$user\@$SHARE/share\t"; 105 print FSTAB "$AMDROOT/share\t smbfs\t";106 print FSTAB "$AMDROOT/share\t$FSTYPE\t"; 106 107 print FSTAB "noauto,rw,-N,-f774,-d775,-u$uid,-g$gid\t0\t0\n"; 107 108
Note: See TracChangeset
for help on using the changeset viewer.