]>
Commit | Line | Data |
---|---|---|
d6aaa55d MT |
1 | /* SmoothWall install program. |
2 | * | |
3 | * This program is distributed under the terms of the GNU General Public | |
4 | * Licence. See the file COPYING for details. | |
5 | * | |
6 | * (c) Lawrence Manning, 2001 | |
7 | * Main include file. | |
8 | * | |
d6aaa55d MT |
9 | */ |
10 | ||
11 | #include "../libsmooth/libsmooth.h" | |
12 | ||
13 | #define IDE_EMPTY 0 | |
14 | #define IDE_CDROM 1 | |
15 | #define IDE_HD 2 | |
16 | #define IDE_UNKNOWN 3 | |
17 | ||
18 | /* CDROMS and harddisks. */ | |
19 | struct devparams | |
20 | { | |
1cdddb12 MT |
21 | char devnode_disk[30]; // when single partition is addressed |
22 | char devnode_part[30]; // when the RAID partition is addressed | |
23 | char devnode_disk_run[30]; // the same dev but after installation | |
24 | char devnode_part_run[30]; | |
d6aaa55d MT |
25 | char modulename[STRING_SIZE]; |
26 | char options[STRING_SIZE]; | |
d6aaa55d MT |
27 | }; |
28 | ||
d6aaa55d MT |
29 | /* nic.c */ |
30 | int networkmenu(struct keyvalue *ethernetkv); | |
31 | ||
32 | /* net.c */ | |
9607771a | 33 | int checktarball(char *, char *message); |
d6aaa55d MT |
34 | |
35 | /* config.c */ | |
36 | int write_disk_configs(struct devparams *dp); | |
37 | int write_lang_configs( char *lang); | |
38 | int write_ethernet_configs(struct keyvalue *ethernetkv); | |
39 | ||
c78a77eb MT |
40 | /* unattended.c */ |
41 | int unattended_setup(struct keyvalue *unattendedkv); |