blob: 2412bb8debfaf791f4c4d389fe203535082e694c [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From f71cc920528c3496b0118964ebbcf5440cda4ed1 Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Wed, 16 Aug 2017 13:37:40 +0800
4Subject: [PATCH] vlock: add new recipe
5
Brad Bishopd7bf8c12018-02-25 22:55:05 -05006Upstream-Status: Inappropriate [configuration]
7
8written by: Jeff Polk <jeff.polk@windriver.com>
9Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
10
Brad Bishop316dfdd2018-06-25 12:45:53 -040011---
12 man/vlock.1 | 5 -----
13 src/vlock.sh | 5 -----
14 2 files changed, 10 deletions(-)
15
16diff --git a/man/vlock.1 b/man/vlock.1
17index 0d29b49..01cb944 100644
18--- a/man/vlock.1
19+++ b/man/vlock.1
20@@ -111,11 +111,6 @@ enter your password at the password prompt. If this variable is unset or set
Brad Bishopd7bf8c12018-02-25 22:55:05 -050021 to an invalid value or 0 no timeout is used. \fBWarning\fR: If this value is
22 too low, you may not be able to unlock your session.
23 .PP
24-.SH FILES
25-.B ~/.vlockrc
26-.IP
27-This file is read by \fBvlock\fR on startup if it exists. All the variables
28-mentioned above can be set here.
29 .SH SECURITY
30 See the SECURITY file in the \fBvlock\fR distribution for more information.
31 .PP
Brad Bishop316dfdd2018-06-25 12:45:53 -040032diff --git a/src/vlock.sh b/src/vlock.sh
33index 75f1369..f572776 100644
34--- a/src/vlock.sh
35+++ b/src/vlock.sh
36@@ -35,11 +35,6 @@ This TTY is now locked.
Brad Bishopd7bf8c12018-02-25 22:55:05 -050037
38 ${VLOCK_ENTER_PROMPT}"
39
40-# Read user settings.
41-if [ -r "${HOME}/.vlockrc" ] ; then
42- . "${HOME}/.vlockrc"
43-fi
44-
45 # "Compile" time variables.
46 VLOCK_MAIN="%PREFIX%/sbin/vlock-main"
47 VLOCK_VERSION="%VLOCK_VERSION%"