summaryrefslogtreecommitdiff
path: root/filenames.sed.c
blob: 9ce1dcd5a304d2c88bb2a1823548aa57eb27f039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "sessreg.h"

#ifdef UTMPX_FILE
# define UTF UTMPX_FILE
#else
# define UTF UTMP_FILE
#endif

#ifdef WTMPX_FILE
# define WTF WTMPX_FILE
#else
# define WTF WTMP_FILE
#endif

#ifndef TTYS_FILE
# define TTYS_FILE "/etc/ttys"
#endif

s|__utmp_file__|UTF|g
s|__wtmp_file__|WTF|g
s|__ttys_file__|TTYS_FILE|g