initial import
This commit is contained in:
30
ipxe/ipxe-0002-banner.patch
Normal file
30
ipxe/ipxe-0002-banner.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
|
||||
index 106e0f8..0a33a18 100644
|
||||
--- a/src/usr/autoboot.c
|
||||
+++ b/src/usr/autoboot.c
|
||||
@@ -70,7 +70,8 @@ static int ( * is_autoboot_device ) ( struct net_device *netdev );
|
||||
|
||||
#define NORMAL "\033[0m"
|
||||
#define BOLD "\033[1m"
|
||||
-#define CYAN "\033[36m"
|
||||
+#define BLACK "\033[1;30m"
|
||||
+#define GREY "\033[0;37m"
|
||||
|
||||
/** The "scriptlet" setting */
|
||||
const struct setting scriptlet_setting __setting ( SETTING_MISC, scriptlet ) = {
|
||||
@@ -582,9 +583,13 @@ int ipxe ( struct net_device *netdev ) {
|
||||
* do so.
|
||||
*
|
||||
*/
|
||||
- printf ( NORMAL "\n\n" PRODUCT_NAME "\n" BOLD PRODUCT_SHORT_NAME " %s"
|
||||
+ printf ( NORMAL "\n\n" PRODUCT_NAME "\n" BOLD PRODUCT_SHORT_NAME
|
||||
NORMAL " -- " PRODUCT_TAG_LINE " -- "
|
||||
- CYAN PRODUCT_URI NORMAL "\nFeatures:", product_version );
|
||||
+ GREY PRODUCT_URI NORMAL "\n"
|
||||
+ BOLD "Hyperbola" BLACK "GNU/Linux-libre" NORMAL " -- make it simple and lightweight -- "
|
||||
+ BOLD BLACK "https://www.hyperbola.info" NORMAL "\n"
|
||||
+ "Version %s compiled on " __DATE__ ", " __TIME__ "\n"
|
||||
+ "Features:", product_version );
|
||||
for_each_table_entry ( feature, FEATURES )
|
||||
printf ( " %s", feature->name );
|
||||
printf ( "\n" );
|
||||
Reference in New Issue
Block a user