|
Lines 12-17
Link Here
|
| 12 |
{ |
12 |
{ |
| 13 |
textdomain "firstboot"; |
13 |
textdomain "firstboot"; |
| 14 |
|
14 |
|
|
|
15 |
import "FileUtils"; |
| 15 |
import "Misc"; |
16 |
import "Misc"; |
| 16 |
import "Mode"; |
17 |
import "Mode"; |
| 17 |
import "Wizard"; |
18 |
import "Wizard"; |
|
Lines 63-72
Link Here
|
| 63 |
_("<p>Have a lot of fun!<br>Your SuSE Development Team</p>"); |
64 |
_("<p>Have a lot of fun!<br>Your SuSE Development Team</p>"); |
| 64 |
|
65 |
|
| 65 |
|
66 |
|
| 66 |
// If text exists, read it from file instead. |
67 |
// If text exists, read it from file instead; it is expected to be richtext. |
| 67 |
string finish_text = Misc::SysconfigRead ( |
68 |
string finish_text = ""; |
|
|
69 |
string finish_text_file = Misc::SysconfigRead ( |
| 68 |
.sysconfig.firstboot.FIRSTBOOT_FINISH_FILE, ""); |
70 |
.sysconfig.firstboot.FIRSTBOOT_FINISH_FILE, ""); |
| 69 |
if (finish_text == "") |
71 |
if (finish_text_file != "" && FileUtils::Exists (finish_text_file)) |
|
|
72 |
{ |
| 73 |
finish_text = (string)SCR::Read (.target.string, finish_text_file); |
| 74 |
} |
| 75 |
if (finish_text == nil || finish_text == "") |
| 70 |
finish_text = text; |
76 |
finish_text = text; |
| 71 |
|
77 |
|
| 72 |
term contents = `VBox ( |
78 |
term contents = `VBox ( |