diff options
author | ed <ed@FreeBSD.org> | 2010-01-13 19:07:48 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-01-13 19:07:48 +0000 |
commit | 4f31d2c5a61c36bfed349f716ab4d35155f799f4 (patch) | |
tree | c8d3f8420976d87627b4e853630a0a5f239be784 /etc/rc.d/cleanvar | |
parent | a40e5b0c4872f0c1eb774b675e6e714e73d63d8c (diff) | |
download | FreeBSD-src-4f31d2c5a61c36bfed349f716ab4d35155f799f4.zip FreeBSD-src-4f31d2c5a61c36bfed349f716ab4d35155f799f4.tar.gz |
Let rc and periodic infrastructure and newsyslog use the utmpx files.
Diffstat (limited to 'etc/rc.d/cleanvar')
-rwxr-xr-x | etc/rc.d/cleanvar | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/cleanvar b/etc/rc.d/cleanvar index 68e03bd..d4b5b14 100755 --- a/etc/rc.d/cleanvar +++ b/etc/rc.d/cleanvar @@ -58,8 +58,8 @@ cleanvar_start () { if [ -d /var/run -a ! -f /var/run/clean_var ]; then purgedir /var/run - # And an initial utmp file - (cd /var/run && cp /dev/null utmp && chmod 644 utmp) + # And an initial utmpx active session file + (cd /var/run && cp /dev/null utx.active && chmod 644 utx.active) >/var/run/clean_var fi if [ -d /var/spool/lock -a ! -f /var/spool/lock/clean_var ]; then |