1#include "sessreg.h" 2 3#ifdef UTMPX_FILE 4# define UTF UTMPX_FILE 5# define UTM utmpx 6/* delete utmp-only content */ 7/__BEGIN_UTMP_ONLY__/,/__END_UTMP_ONLY__/ d 8#else 9# define UTF UTMP_FILE 10# define UTM utmp 11/* delete utmpx-only content */ 12/__BEGIN_UTMPX_ONLY__/,/__END_UTMPX_ONLY__/ d 13#endif 14 15#ifdef WTMPX_FILE 16# define WTF WTMPX_FILE 17# define WTM wtmpx 18#else 19# define WTF WTMP_FILE 20# define WTM wtmp 21#endif 22 23#ifndef TTYS_FILE 24# define TTYS_FILE "/etc/ttys" 25#endif 26 27#ifndef LLOG_FILE 28# define LLOG_FILE "/var/log/lastlog" 29#endif 30 31s|__utmp_manpage__|UTM|g 32s|__utmp_file__|UTF|g 33s|__wtmp_manpage__|WTM|g 34s|__wtmp_file__|WTF|g 35s|__ttys_file__|TTYS_FILE|g 36s|__lastlog_file__|LLOG_FILE|g 37