Changeset 1046 for trunk/guitools/sscc
- Timestamp:
- Jan 24, 2018, 12:04:42 PM (8 years ago)
- Location:
- trunk/guitools/sscc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/guitools/sscc/sscc.vrp
r1024 r1046 7 7 RunDirectory: U:\Develop\Samba\trunk\guitools\sscc 8 8 VRXWindow: __VREMainWindow,1,2867,4673,1012,7902 9 VRXWindow: __VRESectionListWindow,1,1 482,13924,10431,468610 VRXWindow: __VREToolsWindow,0, 4011,10841,6992,16699 VRXWindow: __VRESectionListWindow,1,1506,14406,10431,4686 10 VRXWindow: __VREToolsWindow,0,3999,10841,6486,1669 11 11 VRXWindow: __VREWindListWindow,1,2072,13539,4710,3150 12 12 UserFile: 1 13 13 UserWindow: Main,1 14 UserWindow: Installer,115 UserWindow: RemoveConfig,1 -
trunk/guitools/sscc/sscc.vrx
r1024 r1046 1084 1084 call lineout trg, smbline 1085 1085 lct = lct + 1 1086 if pos("log file",smbline) > 0 then do 1087 call lineout trg, '09'x||'log level = 'VRGet("EF_LOG_LEVEL","value") 1088 lct = lct + 1 1089 end 1086 1090 end 1087 1091 say "Lines saved "lct … … 1180 1184 section = '[global]' 1181 1185 call lineout smbconf, section 1186 if workgroup = '' then workgroup = 'WORKGROUP' /* make sure we have no empty default, set to Windows default */ 1182 1187 call lineout smbconf, Indent||'workgroup = 'workgroup 1183 1188 call lineout smbconf, Indent||'netbios name = 'value('HOSTNAME',,'OS2ENVIRONMENT') … … 3146 3151 3147 3152 if samba.!testparmexe <> "" & Installmode = 0 then do 3148 if datatype("log_level") <> "NUM" then log_level = 2 3153 if datatype("log_level") <> "NUM" then log_level = VRGet("EF_LOG_LEVEL","Value") 3154 call lineout "D:\testlog", "das erste log_level = '"log_level"'" 3155 call lineout "D:\testlog", "pos check "pos(log_level,'012345678910') 3156 if pos(log_level,'012345678910') = 0 then log_level = 2 3157 call lineout "D:\testlog", "Das zweite log_level = '"log_level"'" 3158 say samba.!testparmexe' -s -d='log_level' 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm' 3149 3159 address cmd samba.!testparmexe' -s -d='log_level' 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm' 3150 3160 call _SmbConfCommitChanges … … 3163 3173 return 3164 3174 3165 say samba.!testparmexe' -s -d='log_level' 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm'3166 3175 /*:VRX RB_PDC_Click 3167 3176 */
Note:
See TracChangeset
for help on using the changeset viewer.