2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
7 #include <sys/utsname.h>
11 char *DefaultConfig
= ARCH
"/AROSBootstrap.conf";
13 char *getosversion(const char *bsversion
)
15 char *BootLoader_Name
;
16 struct utsname sysinfo
;
20 nameparts
[0] = (char *)bsversion
;
22 nameparts
[2] = sysinfo
.sysname
;
23 nameparts
[3] = sysinfo
.machine
;
24 nameparts
[4] = sysinfo
.release
;
25 nameparts
[5] = sysinfo
.version
;
26 BootLoader_Name
= join_string(6, nameparts
);
28 return BootLoader_Name
;
31 char *namepart(char *name
)
36 while (name
[-1] != '/')