Changeset 451 for branches/guitools-1.0/shared
- Timestamp:
- May 25, 2010, 6:17:14 PM (16 years ago)
- Location:
- branches/guitools-1.0/shared
- Files:
-
- 2 edited
-
sambainit.vrs (modified) (5 diffs)
-
swat.vrs (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/guitools-1.0/shared/sambainit.vrs
r408 r451 42 42 /* smbd.exe */ 43 43 samba.!smbd = "" 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 44 68 if samba.!smbd = "" then do /* in current directory? */ 45 69 call charout , " Are binaries in current directory? " 46 70 ok = SysFileTree('.\smbd.exe', exist.,'FO') 47 say exist.0' (1 = Yes, 0 = No)'71 48 72 if exist.0 = 1 then samba.!smbd = exist.1 49 73 end … … 51 75 call charout , " Are binaries in parent directory? " 52 76 ok = SysFileTree('..\smbd.exe', exist.,'FO') 53 say exist.0' (1 = Yes, 0 = No)'77 54 78 if exist.0 = 1 then samba.!smbd = exist.1 55 79 end … … 57 81 call charout , " Are binaries in ..\BIN directory? " 58 82 ok = SysFileTree('..\bin\smbd.exe', exist.,'FO') 59 say exist.0' (1 = Yes, 0 = No)'83 60 84 if exist.0 = 1 then samba.!smbd = exist.1 61 85 end … … 73 97 if samba.!smbd = "" then call _ErrorBinaryNotFound 'Could not find smbd.exe!' 74 98 99 75 100 samba.!bin = VRParseFileName(samba.!smbd,'DP') 76 101 IF options.!debug == 1 THEN say ' Samba binaries = "'samba.!bin'"' 102 77 103 78 104 /* smb.cmd */ … … 299 325 300 326 /*:VRX */ 301 _SambaRunning: procedure expose running. pids. TempDir HaveWinbindd options. 327 _SambaRunning: procedure expose running. pids. TempDir HaveWinbindd options. 302 328 IF options.!debug == 1 THEN say '_SambaRunning() started' 303 329 -
branches/guitools-1.0/shared/swat.vrs
r277 r451 15 15 end 16 16 end 17 18 19 20 21 22 23 24 25 26 27 28 29 17 30 if samba.!htpasswdexe = "" then do /* in current directory? */ 18 31 call charout , " Is htpasswd.exe in current directory? " 19 32 ok = SysFileTree('.\htpasswd.exe', exist.,'FO') 20 say exist.0' (1 = Yes, 0 = No)'33 21 34 if exist.0 = 1 then samba.!htpasswdexe = exist.1 22 35 end … … 24 37 call charout , " Is htpasswd.exe in parent directory? " 25 38 ok = SysFileTree('..\htpasswd.exe', exist.,'FO') 26 say exist.0' (1 = Yes, 0 = No)'39 27 40 if exist.0 = 1 then samba.!htpasswdexe = exist.1 28 41 end … … 30 43 call charout , " Is htpasswd.exe in ..\BIN directory? " 31 44 ok = SysFileTree('..\bin\htpasswd.exe', exist.,'FO') 32 say exist.0' (1 = Yes, 0 = No)'45 33 46 if exist.0 = 1 then samba.!htpasswdexe = exist.1 34 47 end … … 36 49 call charout , " Is htpasswd.exe in "SysBootDrive()"\apache2\bin path? " 37 50 ok = SysFileTree(SysBootDrive()'\apache2\bin\htpasswd.exe', exist.,'FO') 38 say exist.0' (1 = Yes, 0 = No)'51 39 52 if exist.0 = 1 then samba.!htpasswdexe = exist.1 40 53 end … … 42 55 call charout , " Is htpasswd.exe in ..\..\apache2\bin path? " 43 56 ok = SysFileTree('..\..\apache2\bin\htpasswd.exe', exist.,'FO') 44 say exist.0' (1 = Yes, 0 = No)'57 45 58 if exist.0 = 1 then samba.!htpasswdexe = exist.1 46 59 end
Note:
See TracChangeset
for help on using the changeset viewer.
