author | claus |
Sat, 11 Dec 1993 02:53:38 +0100 | |
changeset 0 | 0cb137a77319 |
child 2 | 353a88ada7c6 |
permissions | -rw-r--r-- |
0 | 1 |
"* |
2 |
* $Header$ |
|
3 |
* startup configuration for host specific stuff - |
|
4 |
* looks for a host specific init file and loads it. |
|
5 |
*" |
|
6 |
||
7 |
|host s| |
|
8 |
||
9 |
host := OperatingSystem getHostName. |
|
10 |
host notNil ifTrue:[ |
|
11 |
"if there is a corresponding file ..." |
|
12 |
('reading host setup h_' , host , '.rc ...') printNewline. |
|
13 |
s := Smalltalk systemFileStreamFor:('h_' , host , '.rc'). |
|
14 |
s notNil ifTrue:[ |
|
15 |
s fileIn. |
|
16 |
s close. |
|
17 |
] |
|
18 |
]. |
|
19 |
! |