Changeset 283 for branches/scripts/smb_init
- Timestamp:
- Jun 24, 2009, 2:42:01 PM (16 years ago)
- Location:
- branches/scripts/smb_init
- Files:
-
- 2 edited
-
readme.smb_init (modified) (3 diffs)
-
smb.cmd (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/scripts/smb_init/readme.smb_init
r251 r283 1 Samba Server for eCS (OS/2) init script Version 3. 0.31 Samba Server for eCS (OS/2) init script Version 3. 2 2 ===================================================== 3 3 … … 26 26 smb {start|stop|restart|reload|status|test} 27 27 28 In addition a plugin feature found in IBM's TCPSTART.CMD is present in29 smb.cmd:28 In addition a 29 smb.cmd: 30 30 31 31 - If a file named B4SMB.CMD is found in the Samba directory, it will be run … … 35 35 after the Samba services have been stopped. 36 36 37 smb.cmd is also used by SWAT and smbmon.exe to start or stop the Samba daemons 37 smb.cmd is also used by SWAT and smbmon.exe to start or stop the Samba daemons 38 38 39 39 In addition Samba daemons that refuse to stop peacefully are killed using -
branches/scripts/smb_init/smb.cmd
r268 r283 1 /* Samba Server for eCS (OS/2) init script Version 3. 0.41 /* Samba Server for eCS (OS/2) init script Version 3. 2 2 Copyright (C) netlabs.org 2007-2009 3 3 … … 60 60 say 'Samba services are not running. Aborting...' 61 61 ok = directory(OldDir) 62 exit - 362 exit - 63 63 end 64 64 samba.!bin'\smbstatus.exe smbd 2>NUL' … … 156 156 end 157 157 UnixETC = UnixRoot'\etc' 158 159 158 160 159 161 /* Find out various directories */ … … 198 200 samba.!smbconf = stream(ETC'\samba\smb.conf','c','query exists') 199 201 if samba.!smbconf = "" then do 200 say ETC'\samba\smb.conf is missing. Aborting...' 202 say ETC'\samba\smb.conf is missing.' 203 say 'Try running sscc.exe /install to create it! Aborting...' 201 204 exit -2 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 202 227 end 203 228 … … 257 282 samba.!lock_dir = translate(IniGet("lock directory", "global", samba.!smbconf),'\','/') 258 283 samba.!debuglevel = IniGet("log level", "global", samba.!smbconf) 284 285 286 287 259 288 260 289 ok = value("SMB_LOGS",samba.!log_path,"OS2ENVIRONMENT")
Note:
See TracChangeset
for help on using the changeset viewer.
