Changeset 660 for trunk/guitools/shared
- Timestamp:
- Nov 10, 2011, 9:32:23 AM (14 years ago)
- Location:
- trunk/guitools/shared
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/guitools/shared/cltinit.vrs
r638 r660 124 124 IF options.!debug == 1 THEN say ' Samba smb.conf = "'samba.!smbconf'"' 125 125 126 /* complete shadow copy of smb.conf in temporary directory - should always be created on the fly */ 127 /* before reading from it */ 128 samba.!shadowsmbconf = TempDir||'smb.conf' 129 130 /* lmhosts */ 131 samba.!lmhosts = ETC'\samba\lmhosts' 132 if \VRFileExists(samba.!lmhosts) then call _ErrorDataFileNotFound samba.!lmhosts' is not present.' 133 IF options.!debug == 1 THEN say ' Samba lmhosts = "'samba.!lmhosts'"' 134 135 /* FIXME: Needs to be changed for Samba 3.3+ */ 126 136 /* upcase table files - several utilities need these */ 127 137 if (\VRFileExists(samba.!bin'\lib\upcase.dat')) |, -
trunk/guitools/shared/smbtree.vrs
r643 r660 172 172 ok = VRSet("TM_RefreshTreeDisplay","Delay", 1000) 173 173 ok = VRSet("CN_smbtree","Enabled", 1) 174 if DoLMHosts = 1 then do 175 call _LMHostsRead 176 call _LMHostsUpdate 177 end 174 178 ok = VRSet("CN_smbtree", "Painting", 0 ) 175 179 ok = VRSet("CN_smbtree", "Painting", 1 ) … … 510 514 return IPStr'|'MAC'|'Roles 511 515 516 517 512 518 /*:VRX file2stem 513 519 */ … … 515 521 msgfile = arg(1) 516 522 msgstem = arg(2) 523 delmsgfile = translate(arg(3)) 517 524 if right(msgstem,1) <> '.' then msgstem = msgstem'.' 518 525 say ' file2stem("'msgfile'","'msgstem'")' … … 533 540 interpret dyn 534 541 ok = stream(msgfile,'c','close') 535 ok = SysFileDelete(msgfile)542 if delMsgFile <> "NODEL" then ok = SysFileDelete(msgfile) 536 543 drop msgfile msgstem 537 544 return stemcount
Note:
See TracChangeset
for help on using the changeset viewer.