mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 18:40:19 +02:00
26 lines
684 B
Diff
26 lines
684 B
Diff
From 3ec425ce9bcd0bb91f74ac7394aa9ee3f10013bd Mon Sep 17 00:00:00 2001
|
|
From: William Hubbs <w.d.hubbs@gmail.com>
|
|
Date: Wed, 28 Oct 2009 20:53:35 -0500
|
|
Subject: [PATCH] Don't wipe wtmp
|
|
|
|
Thanks to jasiu@belsznica.pl for the patch.
|
|
---
|
|
init.d/bootmisc.in | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
|
|
index 1ec5748..5e24531 100644
|
|
--- a/init.d/bootmisc.in
|
|
+++ b/init.d/bootmisc.in
|
|
@@ -95,7 +95,7 @@ start()
|
|
for x in "" $xtra; do
|
|
mkutmp /var/run/utmp$x
|
|
done
|
|
- [ -e /var/log/wtmp ] && mkutmp /var/log/wtmp
|
|
+ [ -e /var/log/wtmp ] || mkutmp /var/log/wtmp
|
|
eend 0
|
|
|
|
ebegin "Cleaning /var/run"
|
|
--
|
|
1.6.4.4
|
|
|