41dfb51146
Yet another network load monitor. Slurm started as a port of a Linux PPP link monitor called pppstatus by Gabriel Montenegro. It was then transformed into a generic netowrk load monitor that supports *BSD, Linux, HP-UX, and Solaris. Slurm shows `realtime' traffic statistics, has three graph modes, can monitor any network device, and uses curses to draw ascii graphics, including ascii theme support. From maintainer Ryan Freeman, adjusted by myself and ajacoutot. ok ajacoutot@
13 lines
548 B
Plaintext
13 lines
548 B
Plaintext
$OpenBSD: patch-theme_c,v 1.1.1.1 2008/09/18 23:02:31 sthen Exp $
|
|
--- theme.c.orig Wed Sep 17 10:25:11 2008
|
|
+++ theme.c Wed Sep 17 10:23:26 2008
|
|
@@ -75,7 +75,7 @@ int theme_readfile(theme *t, char *name)
|
|
#elif __Debian__
|
|
snprintf(filename, BUFSIZ, "/usr/share/slurm/%s.theme", name);
|
|
#else
|
|
- snprintf(filename, BUFSIZ, "/usr/local/share/slurm/%s.theme", name);
|
|
+ snprintf(filename, BUFSIZ, "${PREFIX}/share/slurm/%s.theme", name);
|
|
#endif
|
|
if ((f = fopen(filename, "r")) == NULL)
|
|
error(ERR_FATAL, "cannot find theme '%s'", name);
|