Changeset 490 for branches/guitools-1.0/install/sscc.vrx
- Timestamp:
- Sep 5, 2010, 10:28:01 AM (15 years ago)
- File:
-
- 1 edited
-
branches/guitools-1.0/install/sscc.vrx (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/guitools-1.0/install/sscc.vrx
r451 r490 985 985 call lineout trg, '# from 'value("USER",,'OS2ENVIRONMENT')'@'value("HOSTNAME",,'OS2ENVIRONMENT') 986 986 call lineout trg, '# Date: 'date()' 'time() 987 987 988 do until lines(src) = 0 988 989 smbline = linein(src) 989 990 if pos("winbind separator",smbline) > 0 then iterate 990 991 call lineout trg, smbline 991 end 992 lct = lct + 1 993 end 994 say "Lines saved "lct 992 995 ok = stream(trg,'c','close') 993 996 ok = stream(src,'c','close') … … 2546 2549 */ 2547 2550 Menu_Options_ExportMode_Click: 2548 say 'ExpertMode_Click started'2549 saysamba.!testparmexe' -v -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm'2551 say 'ExpertMode_Click started' 2552 samba.!testparmexe' -v -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm' 2550 2553 address cmd samba.!testparmexe' -v -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm' 2551 say 'VRCopyFile('TempDir'smb.conf, 'smbconf' )' 2554 say 'VRCopyFile('TempDir'smb.conf, 'smbconf' )' 2555 say " smb.conf Gráe: "stream(smbconf,'c','QUERY SIZE') 2552 2556 ok = VRCopyFile( TempDir'smb.conf', smbconf ) 2553 say 'Copy ok ='ok' (1 = success, 0 = failure)' 2557 say " smb.conf Gráe: "stream(smbconf,'c','QUERY SIZE') 2558 say 'Copy ok ='ok' (1 = success, 0 = failure)' 2554 2559 call _SmbConfTreeReset 2555 2560 call Main_Resize 2556 say 'ExpertMode_Click done'2561 say 'ExpertMode_Click done' 2557 2562 return 2558 2563 … … 2568 2573 */ 2569 2574 Menu_Options_SimpleMode_Click: 2570 2571 say 'SimpleMode_Click started' 2572 say samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm' 2575 say 'SimpleMode_Click started' 2576 say samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm' 2573 2577 address cmd samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm' 2574 say 'VRCopyFile('TempDir'smb.conf, 'smbconf' )' 2578 NewSize = stream(TempDir"smb.conf",'c','QUERY SIZE') 2579 say " "TempDir"smb.conf Gráe: "NewSize 2580 if NewSize = 0 then 'pause' 2581 say " smb.conf Gráe: "stream(smbconf,'c','QUERY SIZE') 2582 say 'VRCopyFile('TempDir'smb.conf, 'smbconf' )' 2575 2583 ok = VRCopyFile( TempDir'smb.conf' , smbconf ) 2576 say 'Copy ok ='ok' (1 = success, 0 = failure)' 2584 say " smb.conf Gráe: "stream(smbconf,'c','QUERY SIZE') 2585 say 'Copy ok ='ok' (1 = success, 0 = failure)' 2577 2586 call _SmbConfTreeReset 2578 2587 do I = Page to 3 by -1 … … 2708 2717 */ 2709 2718 PB_Cancel_Click: 2719 2710 2720 call Quit 2711 2721 return … … 2897 2907 if VRGet("Main","WindowState") = "Maximized"|, 2898 2908 VRGet("Main","WindowState") = "Minimized" then ok = VRMethod("Main", "Restore") 2899 ok = VRRedirectStdio('OFF') 2900 if samba.!testparmexe <> "" then do2909 2910 if samba.!testparmexe <> "" then do 2901 2911 address cmd samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm' 2902 2912 call _SmbConfCommitChanges 2903 end 2913 end 2904 2914 2905 2915 call _INIWrite … … 2908 2918 ok = SysFileDelete(smboutput) 2909 2919 2920 2910 2921 window = VRWindow() 2911 2922 call VRSet window, "Shutdown", 1
Note:
See TracChangeset
for help on using the changeset viewer.
