diff options
author | Peter Wemm <peter@FreeBSD.org> | 1998-04-18 20:49:58 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1998-04-18 20:49:58 +0000 |
commit | e1cbd05435d8213ceff4475fd05be8262bff1a99 (patch) | |
tree | a6bcfc9e8a2bec364b171ac9b693dbf337f2d9a8 /comms/conserver | |
parent | Tweak autologin to get it to the point where it appears to work.. (diff) |
Argh; have I mentioned that I hate ttyslot() keyed utmp files yet? :-]
Notes
Notes:
svn path=/head/; revision=10566
Diffstat (limited to 'comms/conserver')
-rw-r--r-- | comms/conserver/files/patch-ah | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/comms/conserver/files/patch-ah b/comms/conserver/files/patch-ah index 0cd3a9b9c85c..3179ba333dd6 100644 --- a/comms/conserver/files/patch-ah +++ b/comms/conserver/files/patch-ah @@ -1,5 +1,5 @@ ---- autologin/autologin.c.orig Sun Apr 19 04:04:45 1998 -+++ autologin/autologin.c Sun Apr 19 04:13:14 1998 +--- autologin/autologin.c.orig Sun Apr 19 04:13:35 1998 ++++ autologin/autologin.c Sun Apr 19 04:46:10 1998 @@ -22,7 +22,7 @@ @@ -20,11 +20,12 @@ -#define setsid() getpid() -#define getsid(Mp) (Mp) -#define USE_IOCTL 1 +-#define USE_OLD_UTENT 1 +-#define PATH_SU "/usr/ucb/su" +#include <sys/ttydefaults.h> ++#include <ttyent.h> +#define getsid(Mp) (-1) +#define USE_TC 1 - #define USE_OLD_UTENT 1 --#define PATH_SU "/usr/ucb/su" +#define PATH_SU "/usr/bin/su" +#define UTMP_PATH "/var/run/utmp" #else |