1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

smaller cleanups

This commit is contained in:
Steffen Vogel 2015-09-17 00:58:04 +02:00
parent 7b49fd75e3
commit 3fe2008a94
4 changed files with 8 additions and 8 deletions

View file

@ -42,6 +42,7 @@ build: dependencies
CFLAGS=-I$(PREFIX)/usr/include/ \
LDFLAGS=-Wl,-L$(PREFIX)/usr/lib/ \
NLDIR=$(PREFIX)/usr/include/libnl3/ \
PCIDIR=$(PREFIX)/usr/include \
make -C server
# Test S2SS server by running it for 3 secs

View file

@ -27,7 +27,7 @@
#define DEFAULT_POOLSIZE 32
/** Width of log output in characters */
#define LOG_WIDTH 100
#define LOG_WIDTH 74
/** Socket priority */
#define SOCKET_PRIO 7
@ -40,6 +40,9 @@
#define KERNEL_VERSION_MAJ 3
#define KERNEL_VERSION_MIN 4
#ifndef LICENSE_VALID
#define LICENSE_VALID 0
#endif
#define LICENSE_CHECKS \
{ { "/sys/class/dmi/id/product_uuid", "5002E503-4904-EB05-7406-0C0700080009" }, \
{ "/sys/class/net/eth0/address" , "50:e5:49:eb:74:0c" }, \

View file

@ -38,11 +38,6 @@
#define ACS_VERTICAL ACS("\x78")
#define ACS_VERTRIGHT ACS("\x74")
/* UTF-8 Line drawing characters */
#define UTF8_BOX "\xE2\x96\x88"
#define UTF8_VERTICAL "\xE2\x94\x82"
#define UTF8_VERTRIGHT "\xE2\x94\x9C"
/* CPP stringification */
#define XSTR(x) STR(x)
#define STR(x) #x

View file

@ -138,8 +138,9 @@ int main(int argc, char *argv[])
char *configfile = (argc == 2) ? argv[1] : "opal-shmem.conf";
log_reset();
info("This is Simulator2Simulator Server (S2SS) %s (built on %s, %s)",
BLD(YEL(VERSION)), BLD(MAG(__DATE__)), BLD(MAG(__TIME__)));
info("This is Simulator2Simulator Server (S2SS)");
info (" Version: %s (built on %s, %s)", BLD(YEL(VERSION)),
BLD(MAG(__DATE__)), BLD(MAG(__TIME__)));
/* Checks system requirements*/
if (check_root())