Add make config back and update to use wg0 vpn interface which is available on all devices
This commit is contained in:
parent
c4a70dd814
commit
f59bf46e07
2
config.h
2
config.h
|
@ -66,6 +66,8 @@ static const struct arg args[] = {
|
|||
{ load_avg, " %s |", NULL },
|
||||
{ ram_used, " %sB /", NULL },
|
||||
{ ram_free, " %sB |", NULL },
|
||||
{ netspeed_rx, " %sB/s", "wg0" },
|
||||
{ netspeed_tx, " %sB/s |", "wg0" },
|
||||
{ uptime, " %s |", NULL },
|
||||
{ datetime, " %s ", "%a %d/%m %T" },
|
||||
};
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
# slstatus version
|
||||
VERSION = 0
|
||||
|
||||
# customize below to fit your system
|
||||
|
||||
# paths
|
||||
PREFIX = /usr/local
|
||||
MANPREFIX = $(PREFIX)/share/man
|
||||
|
||||
X11INC = /usr/X11R6/include
|
||||
X11LIB = /usr/X11R6/lib
|
||||
|
||||
# flags
|
||||
CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
|
||||
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
|
||||
LDFLAGS = -L$(X11LIB) -s
|
||||
LDLIBS = -lX11
|
||||
|
||||
# compiler and linker
|
||||
CC = cc
|
Loading…
Reference in New Issue